Metoda ReplicationServer.EnumLightPublications
Ten interfejs API obsługuje infrastrukturę programu i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Przestrzeń nazw: Microsoft.SqlServer.Replication
Zestaw: Microsoft.SqlServer.Rmo (w Microsoft.SqlServer.Rmo.dll)
Składnia
'Deklaracja
Public Function EnumLightPublications ( _
databaseName As String, _
replicationType As Integer, _
returnHeteroPublication As Boolean, _
returnEmptyTranPublication As Boolean _
) As ArrayList
'Użycie
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
Parametry
- databaseName
Typ: System.String
- replicationType
Typ: System.Int32
- returnHeteroPublication
Typ: System.Boolean
- returnEmptyTranPublication
Typ: System.Boolean