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

매개 변수

  • 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.

참고 항목

참조

ReplicationServer 클래스

Microsoft.SqlServer.Replication 네임스페이스