Partager via


Interface IProcessSecurityContext

Interface that encapsulates the Microsoft Windows security account information used by Microsoft SQL Server Agent to start a replication agent job.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
<GuidAttribute("DEB8D30C-EDBE-45F6-AE3B-BE29B08C5A1E")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)> _
Public Interface IProcessSecurityContext
'Utilisation
Dim instance As IProcessSecurityContext
[GuidAttribute("DEB8D30C-EDBE-45F6-AE3B-BE29B08C5A1E")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]
public interface IProcessSecurityContext
[GuidAttribute(L"DEB8D30C-EDBE-45F6-AE3B-BE29B08C5A1E")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsDual)]
public interface class IProcessSecurityContext
[<GuidAttribute("DEB8D30C-EDBE-45F6-AE3B-BE29B08C5A1E")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)>]
type IProcessSecurityContext =  interface end
public interface IProcessSecurityContext

Le type IProcessSecurityContext expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Login Gets or sets the name of the Microsoft Windows security account.
Propriété publique Password Gets or sets the password for the Microsoft Windows security account specified in the Login property.
Propriété publique SecurePassword Gets or sets the password (as a SecureString object) for the Microsoft Windows security account specified in the Login property.

Haut de la page

Notes

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Replication

LogReaderAgentProcessSecurity

QueueReaderAgentProcessSecurity

SnapshotGenerationAgentProcessSecurity

SynchronizationAgentProcessSecurity

SynchronizationAgentProcessSecurity

Autres ressources

Modèle de sécurité de l'Agent de réplication