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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.