Dela via


Synonym.BaseType Property

Specifies the type of the Synonym object.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property BaseType As SynonymBaseType
    Get
'Usage
Dim instance As Synonym
Dim value As SynonymBaseType

value = instance.BaseType
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public SynonymBaseType BaseType { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property SynonymBaseType BaseType {
    SynonymBaseType get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member BaseType : SynonymBaseType
function get BaseType () : SynonymBaseType

Property Value

Type: Microsoft.SqlServer.Management.Smo.SynonymBaseType
A SynonymBaseType enumeration value that specifies the type of the Synonym.