Compartir a través de


LinkedServer.ID Propiedad

Gets the ID value that uniquely identifies the linked server.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ID As Integer 
    Get
'Uso
Dim instance As LinkedServer 
Dim value As Integer 

value = instance.ID
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int ID { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int ID {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ID : int
function get ID () : int

Valor de la propiedad

Tipo: System.Int32
An Int32 value that uniquely identifies the linked server.

Ejemplos

Utilizar servidores vinculados en SMO

Vea también

Referencia

LinkedServer Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Servidores vinculados (motor de base de datos)

sp_addlinkedserver (Transact-SQL)