共用方式為


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

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.

請參閱

參考

Microsoft.SqlServer.Replication 命名空間

LogReaderAgentProcessSecurity

QueueReaderAgentProcessSecurity

SnapshotGenerationAgentProcessSecurity

SynchronizationAgentProcessSecurity

SynchronizationAgentProcessSecurity

其他資源

複寫代理程式安全性模型