Condividi tramite


Proprietà LinkedServer.LinkedServerLogins

Represents a collection of LinkedServerLogin objects. Each LinkedServerLogin object represents a linked server login defined on the linked server.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(LinkedServerLogin))> _
Public ReadOnly Property LinkedServerLogins As LinkedServerLoginCollection 
    Get
'Utilizzo
Dim instance As LinkedServer 
Dim value As LinkedServerLoginCollection 

value = instance.LinkedServerLogins
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(LinkedServerLogin))]
public LinkedServerLoginCollection LinkedServerLogins { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(LinkedServerLogin))]
public:
property LinkedServerLoginCollection^ LinkedServerLogins {
    LinkedServerLoginCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(LinkedServerLogin))>]
member LinkedServerLogins : LinkedServerLoginCollection
function get LinkedServerLogins () : LinkedServerLoginCollection

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo.LinkedServerLoginCollection
A LinkedServerLoginCollection object that represents all the linked server logins defined on the linked server.

Esempi

Utilizzo di server collegati in SMO

Vedere anche

Riferimento

LinkedServer Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Server collegati (Motore di database)

sp_addlinkedserver (Transact-SQL)