共用方式為


IProcessSecurityContext 介面

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

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
<GuidAttribute("ABD90E85-6FA2-4577-BAF8-15D0A9C9C03E")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)> _
Public Interface IProcessSecurityContext
'用途
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

IProcessSecurityContext 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Login Gets or sets the name of the Microsoft Windows security account.
公用屬性 Password Gets or sets the password for the Microsoft Windows security account specified in the Login property.
公用屬性 SecurePassword Gets or sets the password (as a SecureString object) for the Microsoft Windows security account specified in the Login property.

上層

備註

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.