CreateSynonymStatement.ForName Property
Gets or sets the name of the object the synonym is for.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Property ForName As SchemaObjectName
Get
Set
'Usage
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)
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.SchemaObjectName
The name of the object the synonym is for.