Classe LinkedServerLogin

The LinkedServerLogin object represents a SQL Server logon account that has permission to connect to the linked server.

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

Syntaxe

'Déclaration
<SfcElementTypeAttribute("Login")> _
Public NotInheritable Class LinkedServerLogin _
    Inherits NamedSmoObject _
    Implements ICreatable, IDroppable, IAlterable
'Utilisation
Dim instance As LinkedServerLogin
[SfcElementTypeAttribute("Login")]
public sealed class LinkedServerLogin : NamedSmoObject, 
    ICreatable, IDroppable, IAlterable
[SfcElementTypeAttribute(L"Login")]
public ref class LinkedServerLogin sealed : public NamedSmoObject, 
    ICreatable, IDroppable, IAlterable
[<SealedAttribute>]
[<SfcElementTypeAttribute("Login")>]
type LinkedServerLogin =  
    class
        inherit NamedSmoObject
        interface ICreatable
        interface IDroppable
        interface IAlterable
    end
public final class LinkedServerLogin extends NamedSmoObject implements ICreatable, IDroppable, IAlterable

Notes

To get LinkedServerLogin object properties, users can be a member of the public fixed server role.

To set LinkedServerLogin object properties, users must have ALTER ANY LOGIN permission on the server or be a member of the sysadmin fixed server role.

To create or drop a linked server login, users must have ALTER ANY LOGIN permission on the server or be a member of the sysadmin fixed server role.

To set the password for the linked server login, users must have ALTER ANY LOGIN permission on the server or be a member of the sysadmin fixed server role.

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme sûrs.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.