Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Returns a light publications.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public Function EnumLightPublications ( _
databaseName As String, _
replicationType As Integer, _
returnHeteroPublication As Boolean, _
returnEmptyTranPublication As Boolean _
) As ArrayList
'Usage
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
Parameters
- databaseName
Type: System.String
The name of the database
- replicationType
Type: System.Int32
The replication type.
- returnHeteroPublication
Type: System.Boolean
Indicates whether to return heterogeneous publication.
- returnEmptyTranPublication
Type: System.Boolean
Indicates whether to return empty transaction publication.
Return Value
Type: System.Collections.ArrayList
An ArrayList of light publications.