IProcessSecurityContext Interface

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
<GuidAttribute("DEB8D30C-EDBE-45F6-AE3B-BE29B08C5A1E")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)> _
Public Interface IProcessSecurityContext
'Usage
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

The IProcessSecurityContext type exposes the following members.

Properties

  Name Description
Public property Login Gets or sets the name of the Microsoft Windows security account.
Public property Password Gets or sets the password for the Microsoft Windows security account specified in the Login property.
Public property SecurePassword Gets or sets the password (as a SecureString object) for the Microsoft Windows security account specified in the Login property.

Top

Remarks

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.

See Also

Reference

Microsoft.SqlServer.Replication Namespace

LogReaderAgentProcessSecurity

QueueReaderAgentProcessSecurity

SnapshotGenerationAgentProcessSecurity

SynchronizationAgentProcessSecurity

SynchronizationAgentProcessSecurity

Other Resources

Replication Agent Security Model