Bagikan melalui


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("ABD90E85-6FA2-4577-BAF8-15D0A9C9C03E")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)> _
Public Interface IProcessSecurityContext
'Usage
Dim instance As IProcessSecurityContext
[GuidAttribute("ABD90E85-6FA2-4577-BAF8-15D0A9C9C03E")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]
public interface IProcessSecurityContext
[GuidAttribute(L"ABD90E85-6FA2-4577-BAF8-15D0A9C9C03E")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsDual)]
public interface class IProcessSecurityContext
[<GuidAttribute("ABD90E85-6FA2-4577-BAF8-15D0A9C9C03E")>]
[<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.