Sdílet prostřednictvím


TransSynchronizationAgent.SubscriberDatabase Property

Gets or sets the name of the subscription database.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Overridable Property SubscriberDatabase As String
    Get
    Set
'Usage
Dim instance As TransSynchronizationAgent
Dim value As String

value = instance.SubscriberDatabase

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

Property Value

Type: System.String
A String value.

Implements

ITransSynchronizationAgent.SubscriberDatabase

Remarks

SubscriberDatabase is a required property. An exception is thrown if SubscriberDatabase is nulla null reference (Nothing in Visual Basic).