The CopyAllUserDefinedDatatypes property controls the transfer of Microsoft® SQL Server™ user-defined data types from the source to the target database.
object.CopyAllUserDefinedDatatypes [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | True or False |
If True, all SQL Server user-defined data types in the source database are copied to the target.
If False, only user-defined data types indicated by the AddObject and AddObjectByName methods are copied.
Boolean
Read/write
HRESULT GetCopyAllUserDefinedDatatypes(LPBOOL pRetVal);
HRESULT SetCopyAllUserDefinedDatatypes(BOOL NewValue);
AddObject Method | AddObjectByName Method |