CreateSynonymStatement.ForName Property

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

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property ForName As SchemaObjectName
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.Data.Schema.ScriptDom.Sql.SchemaObjectName
Returns a SchemaObjectName.

Remarks

Can be a four-part name.

.NET Framework Security

See Also

Reference

CreateSynonymStatement Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace