InitMemberVariables 方法
此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。
命名空間: 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