共用方式為


ISnapshotGenerationAgent.PublisherSecurityMode 屬性

Gets or sets the security mode used when connecting to the Publisher.

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

語法

'宣告
Property PublisherSecurityMode As SecurityMode 
    Get 
    Set
'用途
Dim instance As ISnapshotGenerationAgent 
Dim value As SecurityMode 

value = instance.PublisherSecurityMode

instance.PublisherSecurityMode = value
SecurityMode PublisherSecurityMode { get; set; }
property SecurityMode PublisherSecurityMode {
    SecurityMode get ();
    void set (SecurityMode value);
}
abstract PublisherSecurityMode : SecurityMode with get, set
function get PublisherSecurityMode () : SecurityMode 
function set PublisherSecurityMode (value : SecurityMode)

屬性值

型別:Microsoft.SqlServer.Replication.SecurityMode
A SecurityMode value that represents the security mode.

請參閱

參考

ISnapshotGenerationAgent 介面

Microsoft.SqlServer.Replication 命名空間