Share via


PullSubscription.InitMemberVariables Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Initializes the member variables.

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

Syntax

'Declaration
Protected Sub InitMemberVariables ( _
    databaseName As String, _
    publisherName As String, _
    publicationDBName As String, _
    publicationName As String, _
    createSyncAgentByDefault As Boolean _
)
'Usage
Dim databaseName As String 
Dim publisherName As String 
Dim publicationDBName As String 
Dim publicationName As String 
Dim createSyncAgentByDefault As Boolean 

Me.InitMemberVariables(databaseName, _
    publisherName, publicationDBName, _
    publicationName, createSyncAgentByDefault)
protected void InitMemberVariables(
    string databaseName,
    string publisherName,
    string publicationDBName,
    string publicationName,
    bool createSyncAgentByDefault
)
protected:
void InitMemberVariables(
    String^ databaseName, 
    String^ publisherName, 
    String^ publicationDBName, 
    String^ publicationName, 
    bool createSyncAgentByDefault
)
member InitMemberVariables : 
        databaseName:string * 
        publisherName:string * 
        publicationDBName:string * 
        publicationName:string * 
        createSyncAgentByDefault:bool -> unit
protected function InitMemberVariables(
    databaseName : String, 
    publisherName : String, 
    publicationDBName : String, 
    publicationName : String, 
    createSyncAgentByDefault : boolean
)

Parameters

  • publicationDBName
    Type: System.String
    The name of the publication database.
  • createSyncAgentByDefault
    Type: System.Boolean
    Indicates whether to create a synchronous agent.

See Also

Reference

PullSubscription Class

Microsoft.SqlServer.Replication Namespace