ReplicationServer.EnumLightPublications 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Returns a light publications.
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)
語法
'宣告
Public Function EnumLightPublications ( _
databaseName As String, _
replicationType As Integer, _
returnHeteroPublication As Boolean, _
returnEmptyTranPublication As Boolean _
) As ArrayList
'用途
Dim instance As ReplicationServer
Dim databaseName As String
Dim replicationType As Integer
Dim returnHeteroPublication As Boolean
Dim returnEmptyTranPublication As Boolean
Dim returnValue As ArrayList
returnValue = instance.EnumLightPublications(databaseName, _
replicationType, returnHeteroPublication, _
returnEmptyTranPublication)
public ArrayList EnumLightPublications(
string databaseName,
int replicationType,
bool returnHeteroPublication,
bool returnEmptyTranPublication
)
public:
ArrayList^ EnumLightPublications(
String^ databaseName,
int replicationType,
bool returnHeteroPublication,
bool returnEmptyTranPublication
)
member EnumLightPublications :
databaseName:string *
replicationType:int *
returnHeteroPublication:bool *
returnEmptyTranPublication:bool -> ArrayList
public function EnumLightPublications(
databaseName : String,
replicationType : int,
returnHeteroPublication : boolean,
returnEmptyTranPublication : boolean
) : ArrayList
參數
- databaseName
型別:System.String
The name of the database
- replicationType
型別:System.Int32
The replication type.
- returnHeteroPublication
型別:System.Boolean
Indicates whether to return heterogeneous publication.
- returnEmptyTranPublication
型別:System.Boolean
Indicates whether to return empty transaction publication.
傳回值
型別:System.Collections.ArrayList
An ArrayList of light publications.