Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'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);
}
public function get ForName () : SchemaObjectName
public 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.