共用方式為


SnapshotGenerationAgent.PublisherNetworkLibrary 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets or sets the Network library used when connecting locally to the Publisher using SQL Server Authentication.

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

語法

'宣告
Public Property PublisherNetworkLibrary As String 
    Get 
    Set
'用途
Dim instance As SnapshotGenerationAgent 
Dim value As String 

value = instance.PublisherNetworkLibrary

instance.PublisherNetworkLibrary = value
public string PublisherNetworkLibrary { get; set; }
public:
virtual property String^ PublisherNetworkLibrary {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract PublisherNetworkLibrary : string with get, set 
override PublisherNetworkLibrary : string with get, set
final function get PublisherNetworkLibrary () : String 
final function set PublisherNetworkLibrary (value : String)

屬性值

型別:System.String
The Network library used when connecting locally to the Publisher using SQL Server Authentication.

實作

ISnapshotGenerationAgent.PublisherNetworkLibrary

請參閱

參考

SnapshotGenerationAgent 類別

Microsoft.SqlServer.Replication 命名空間