Synonym.BaseObject Property

Gets or sets the base object for which the synonym is defined.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property BaseObject As String
    Get
    Set
'Usage
Dim instance As Synonym
Dim value As String

value = instance.BaseObject

instance.BaseObject = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string BaseObject { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ BaseObject {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member BaseObject : string with get, set
function get BaseObject () : String
function set BaseObject (value : String)

Property Value

Type: System.String
A String value that specifies the base object for the synonym.

Examples

Using Synonyms