Partager via


Propriété LinkedServer.ID

Gets the ID value that uniquely identifies the linked server.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ID As Integer 
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

Utilisation de serveurs liés dans SMO

Voir aussi

Référence

LinkedServer Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Serveurs liés (Moteur de base de données)

sp_addlinkedserver (Transact-SQL)