EnumLightPublications 方法
此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。
命名空间: 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
- replicationType
类型:System. . :: . .Int32
- returnHeteroPublication
类型:System. . :: . .Boolean
- returnEmptyTranPublication
类型:System. . :: . .Boolean