Partilhar via


Propriedade do RDL CreateSynonymStatement.ForName

Gets or sets the name of the object the synonym is for.

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

Sintaxe

'Declaração
Public Property ForName As SchemaObjectName 
    Get 
    Set
'Uso
Dim instance As CreateSynonymStatement 
Dim value As SchemaObjectName 

value = instance.ForName

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

Valor da propriedade

Tipo: Microsoft.SqlServer.TransactSql.ScriptDom.SchemaObjectName
The name of the object the synonym is for.

Consulte também

Referência

CreateSynonymStatement Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom