Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- databaseName
Type: System.String
The database name.
- publisherName
Type: System.String
The name of the publisher.
- publicationDBName
Type: System.String
The name of the publication database.
- publicationName
Type: System.String
The publication name.
- createSyncAgentByDefault
Type: System.Boolean
Indicates whether to create a synchronous agent.