Delen via


CreateDatabaseStatement.CopyOf Property

Gets or sets the name of source server and source database for the CopyOf option.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property CopyOf As MultiPartIdentifier 
    Get 
    Set
'Usage
Dim instance As CreateDatabaseStatement 
Dim value As MultiPartIdentifier 

value = instance.CopyOf

instance.CopyOf = value
public MultiPartIdentifier CopyOf { get; set; }
public:
property MultiPartIdentifier^ CopyOf {
    MultiPartIdentifier^ get ();
    void set (MultiPartIdentifier^ value);
}
member CopyOf : MultiPartIdentifier with get, set
function get CopyOf () : MultiPartIdentifier 
function set CopyOf (value : MultiPartIdentifier)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.MultiPartIdentifier
The name of source server and source database.

See Also

Reference

CreateDatabaseStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace