InitMemberVariables 方法
此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)
语法
声明
Protected Sub InitMemberVariables ( _
databaseName As String, _
publisherName As String, _
publicationDBName As String, _
publicationName As String, _
createSyncAgentByDefault As Boolean _
)
用法
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
)
参数
- databaseName
类型:System. . :: . .String
- publisherName
类型:System. . :: . .String
- publicationDBName
类型:System. . :: . .String
- publicationName
类型:System. . :: . .String
- createSyncAgentByDefault
类型:System. . :: . .Boolean