MergePublication 클래스

정의

병합 게시를 나타냅니다.

public ref class MergePublication sealed : Microsoft::SqlServer::Replication::Publication
public sealed class MergePublication : Microsoft.SqlServer.Replication.Publication
type MergePublication = class
    inherit Publication
Public NotInheritable Class MergePublication
Inherits Publication
상속

예제

다음 예에서는 병합 게시를 만듭니다.

// Set the Publisher, publication database, and publication names.
string publisherName = publisherInstance;
string publicationName = "AdvWorksSalesOrdersMerge";
string publicationDbName = "AdventureWorks2012";

ReplicationDatabase publicationDb;
MergePublication publication;

// Create a connection to the Publisher.
ServerConnection conn = new ServerConnection(publisherName);

try
{
    // Connect to the Publisher.
    conn.Connect();

    // Enable the database for merge publication.				
    publicationDb = new ReplicationDatabase(publicationDbName, conn);
    if (publicationDb.LoadProperties())
    {
        if (!publicationDb.EnabledMergePublishing)
        {
            publicationDb.EnabledMergePublishing = true;
        }
    }
    else
    {
        // Do something here if the database does not exist. 
        throw new ApplicationException(String.Format(
            "The {0} database does not exist on {1}.",
            publicationDb, publisherName));
    }

    // Set the required properties for the merge publication.
    publication = new MergePublication();
    publication.ConnectionContext = conn;
    publication.Name = publicationName;
    publication.DatabaseName = publicationDbName;

    // Enable precomputed partitions.
    publication.PartitionGroupsOption = PartitionGroupsOption.True;

    // Specify the Windows account under which the Snapshot Agent job runs.
    // This account will be used for the local connection to the 
    // Distributor and all agent connections that use Windows Authentication.
    publication.SnapshotGenerationAgentProcessSecurity.Login = winLogin;
    publication.SnapshotGenerationAgentProcessSecurity.Password = winPassword;

    // Explicitly set the security mode for the Publisher connection
    // Windows Authentication (the default).
    publication.SnapshotGenerationAgentPublisherSecurity.WindowsAuthentication = true;

    // Enable Subscribers to request snapshot generation and filtering.
    publication.Attributes |= PublicationAttributes.AllowSubscriberInitiatedSnapshot;
    publication.Attributes |= PublicationAttributes.DynamicFilters;

    // Enable pull and push subscriptions.
    publication.Attributes |= PublicationAttributes.AllowPull;
    publication.Attributes |= PublicationAttributes.AllowPush;

    if (!publication.IsExistingObject)
    {
        // Create the merge publication.
        publication.Create();
        
        // Create a Snapshot Agent job for the publication.
        publication.CreateSnapshotAgent();
    }
    else
    {
        throw new ApplicationException(String.Format(
            "The {0} publication already exists.", publicationName));
    }
}

catch (Exception ex)
{
    // Implement custom application error handling here.
    throw new ApplicationException(String.Format(
        "The publication {0} could not be created.", publicationName), ex);
}
finally
{
    conn.Disconnect();
}
' Set the Publisher, publication database, and publication names.
Dim publisherName As String = publisherInstance
Dim publicationName As String = "AdvWorksSalesOrdersMerge"
Dim publicationDbName As String = "AdventureWorks2012"

Dim publicationDb As ReplicationDatabase
Dim publication As MergePublication

' Create a connection to the Publisher.
Dim conn As ServerConnection = New ServerConnection(publisherName)

Try
    ' Connect to the Publisher.
    conn.Connect()

    ' Enable the database for merge publication.				
    publicationDb = New ReplicationDatabase(publicationDbName, conn)
    If publicationDb.LoadProperties() Then
        If Not publicationDb.EnabledMergePublishing Then
            publicationDb.EnabledMergePublishing = True
        End If
    Else
        ' Do something here if the database does not exist. 
        Throw New ApplicationException(String.Format( _
         "The {0} database does not exist on {1}.", _
         publicationDb, publisherName))
    End If

    ' Set the required properties for the merge publication.
    publication = New MergePublication()
    publication.ConnectionContext = conn
    publication.Name = publicationName
    publication.DatabaseName = publicationDbName

    ' Enable precomputed partitions.
    publication.PartitionGroupsOption = PartitionGroupsOption.True

    ' Specify the Windows account under which the Snapshot Agent job runs.
    ' This account will be used for the local connection to the 
    ' Distributor and all agent connections that use Windows Authentication.
    publication.SnapshotGenerationAgentProcessSecurity.Login = winLogin
    publication.SnapshotGenerationAgentProcessSecurity.Password = winPassword

    ' Explicitly set the security mode for the Publisher connection
    ' Windows Authentication (the default).
    publication.SnapshotGenerationAgentPublisherSecurity.WindowsAuthentication = True

    ' Enable Subscribers to request snapshot generation and filtering.
    publication.Attributes = publication.Attributes Or _
        PublicationAttributes.AllowSubscriberInitiatedSnapshot
    publication.Attributes = publication.Attributes Or _
        PublicationAttributes.DynamicFilters

    ' Enable pull and push subscriptions
    publication.Attributes = publication.Attributes Or _
        PublicationAttributes.AllowPull
    publication.Attributes = publication.Attributes Or _
        PublicationAttributes.AllowPush

    If Not publication.IsExistingObject Then
        ' Create the merge publication.
        publication.Create()

        ' Create a Snapshot Agent job for the publication.
        publication.CreateSnapshotAgent()
    Else
        Throw New ApplicationException(String.Format( _
            "The {0} publication already exists.", publicationName))
    End If
Catch ex As Exception
    ' Implement custom application error handling here.
    Throw New ApplicationException(String.Format( _
        "The publication {0} could not be created.", publicationName), ex)
Finally
    conn.Disconnect()
End Try

다음은 병합 게시의 속성을 변경하는 예제입니다.

// Define the server, database, and publication names
string publisherName = publisherInstance;
string publicationName = "AdvWorksSalesOrdersMerge";
string publicationDbName = "AdventureWorks2012";

MergePublication publication;

// Create a connection to the Publisher.
ServerConnection conn = new ServerConnection(publisherName);

try
{
    // Connect to the Publisher.
    conn.Connect();

    // Set the required properties for the publication.
    publication = new MergePublication();
    publication.ConnectionContext = conn;
    publication.Name = publicationName;
    publication.DatabaseName = publicationDbName;


    // If we can't get the properties for this merge publication, then throw an application exception.
    if (publication.LoadProperties())
    {
        // If DDL replication is currently enabled, disable it.
        if (publication.ReplicateDdl == DdlReplicationOptions.All)
        {
            publication.ReplicateDdl = DdlReplicationOptions.None;
        }
        else
        {
            publication.ReplicateDdl = DdlReplicationOptions.All;
        }
    }
    else
    {
        throw new ApplicationException(String.Format(
            "Settings could not be retrieved for the publication. " +
            "Ensure that the publication {0} exists on {1}.",
            publicationName, publisherName));
    }
}
catch (Exception ex)
{
    // Do error handling here.
    throw new ApplicationException(
        "The publication property could not be changed.", ex);
}
finally
{
    conn.Disconnect();
}
' Define the server, database, and publication names
Dim publisherName As String = publisherInstance
Dim publicationName As String = "AdvWorksSalesOrdersMerge"
Dim publicationDbName As String = "AdventureWorks2012"

Dim publication As MergePublication

' Create a connection to the Publisher.
Dim conn As ServerConnection = New ServerConnection(publisherName)

Try
    ' Connect to the Publisher.
    conn.Connect()

    ' Set the required properties for the publication.
    publication = New MergePublication()
    publication.ConnectionContext = conn
    publication.Name = publicationName
    publication.DatabaseName = publicationDbName

    ' If we can't get the properties for this merge publication, then throw an application exception.
    If publication.LoadProperties() Then
        ' If DDL replication is currently enabled, disable it.
        If publication.ReplicateDdl = DdlReplicationOptions.All Then
            publication.ReplicateDdl = DdlReplicationOptions.None
        Else
            publication.ReplicateDdl = DdlReplicationOptions.All
        End If
    Else
        Throw New ApplicationException(String.Format( _
         "Settings could not be retrieved for the publication. " + _
         "Ensure that the publication {0} exists on {1}.", _
         publicationName, publisherName))
    End If
Catch ex As Exception
    ' Do error handling here.
    Throw New ApplicationException( _
        "The publication property could not be changed.", ex)
Finally
    conn.Disconnect()
End Try

다음은 병합 게시를 삭제하는 예제입니다.

// Define the Publisher, publication database, 
// and publication names.
string publisherName = publisherInstance;
string publicationName = "AdvWorksSalesOrdersMerge";
string publicationDbName = "AdventureWorks2012";

MergePublication publication;
ReplicationDatabase publicationDb;

// Create a connection to the Publisher.
ServerConnection conn = new ServerConnection(publisherName);

try
{
    // Connect to the Publisher.
    conn.Connect();

    // Set the required properties for the merge publication.
    publication = new MergePublication();
    publication.ConnectionContext = conn;
    publication.Name = publicationName;
    publication.DatabaseName = publicationDbName;

    // Delete the publication, if it exists and has no subscriptions.
    if (publication.LoadProperties() && !publication.HasSubscription)
    {
        publication.Remove();
    }
    else
    {
        // Do something here if the publication does not exist
        // or has subscriptions.
        throw new ApplicationException(String.Format(
            "The publication {0} could not be deleted. " +
            "Ensure that the publication exists and that all " +
            "subscriptions have been deleted.",
            publicationName, publisherName));
    }

    // If no other merge publications exists,
    // disable publishing on the database.
    publicationDb = new ReplicationDatabase(publicationDbName, conn);
    if (publicationDb.LoadProperties())
    {
        if (publicationDb.MergePublications.Count == 0 && publicationDb.EnabledMergePublishing)
        {
            publicationDb.EnabledMergePublishing = false;
        }
    }
    else
    {
        // Do something here if the database does not exist.
        throw new ApplicationException(String.Format(
            "The database {0} does not exist on {1}.",
            publicationDbName, publisherName));
    }
}
catch (Exception ex)
{
    // Implement application error handling here.
    throw new ApplicationException(String.Format(
        "The publication {0} could not be deleted.",
        publicationName), ex);
}
finally
{
    conn.Disconnect();
}
' Define the Publisher, publication database, 
' and publication names.
Dim publisherName As String = publisherInstance
Dim publicationName As String = "AdvWorksSalesOrdersMerge"
Dim publicationDbName As String = "AdventureWorks2012"

Dim publication As MergePublication
Dim publicationDb As ReplicationDatabase

' Create a connection to the Publisher.
Dim conn As ServerConnection = New ServerConnection(publisherName)

Try
    ' Connect to the Publisher.
    conn.Connect()

    ' Set the required properties for the merge publication.
    publication = New MergePublication()
    publication.ConnectionContext = conn
    publication.Name = publicationName
    publication.DatabaseName = publicationDbName

    ' Delete the publication, if it exists and has no subscriptions.
    If (publication.LoadProperties() And Not publication.HasSubscription) Then
        publication.Remove()
    Else
        ' Do something here if the publication does not exist
        ' or has subscriptions.
        Throw New ApplicationException(String.Format( _
         "The publication {0} could not be deleted. " + _
         "Ensure that the publication exists and that all " + _
         "subscriptions have been deleted.", _
         publicationName, publisherName))
    End If

    ' If no other merge publications exists,
    ' disable publishing on the database.
    publicationDb = New ReplicationDatabase(publicationDbName, conn)
    If publicationDb.LoadProperties() Then
        If publicationDb.MergePublications.Count = 0 _
        And publicationDb.EnabledMergePublishing Then
            publicationDb.EnabledMergePublishing = False
        End If
    Else
        ' Do something here if the database does not exist.
        Throw New ApplicationException(String.Format( _
         "The database {0} does not exist on {1}.", _
         publicationDbName, publisherName))
    End If
Catch ex As Exception
    ' Implement application error handling here.
    Throw New ApplicationException(String.Format( _
     "The publication {0} could not be deleted.", _
     publicationName), ex)
Finally
    conn.Disconnect()
End Try

설명

스레드 보안

이 형식의 모든 공용 정적(Shared Microsoft Visual Basic의 경우) 멤버는 다중 스레드 작업에 안전합니다. 인스턴스 구성원은 스레드로부터의 안전성이 보장되지 않습니다.

생성자

MergePublication()

MergePublication 클래스의 새 인스턴스를 만듭니다.

MergePublication(String, String, ServerConnection)

지정된 이름, 데이터베이스 및 게시자 연결을 사용하여 MergePublication 클래스의 새 인스턴스를 초기화합니다.

MergePublication(String, String, ServerConnection, Boolean)

스냅숏 에이전트 작업을 기본적으로 만들어야 하는지 여부를 지정하고 MergePublication 클래스의 인스턴스를 만듭니다.

속성

AltSnapshotFolder

게시에 대한 대체 스냅샷 파일 위치를 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
Attributes

게시 특성을 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
AutomaticReinitializationPolicy

게시의 변경으로 인해 구독이 다시 초기화되는 경우 게시자의 변경 내용이 게시자에 업로드되는지 여부를 가져오거나 설정합니다.

CachePropertyChanges

복제 속성에 대한 변경 내용을 캐시할지 아니면 즉시 적용할지를 가져오거나 설정합니다.

(다음에서 상속됨 ReplicationObject)
CompatibilityLevel

병합 게시를 구독할 수 있는 Microsoft SQL Server 초기 버전을 가져오거나 설정합니다.

ConflictRetention

충돌 데이터 행이 충돌 테이블에 유지되는 일 수를 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
ConnectionContext

Microsoft SQL Server 인스턴스에 대한 연결을 가져오거나 설정합니다.

(다음에서 상속됨 ReplicationObject)
CreateSnapshotAgentByDefault

게시를 만들 때 스냅숏 에이전트 작업이 자동으로 추가되는지 여부를 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
DatabaseName

게시 데이터베이스의 이름을 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
Description

게시에 대한 텍스트 설명을 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
FtpAddress

FTP(파일 전송 프로토콜)를 통해 구독 초기화를 허용하는 게시의 경우 FTP 서버 컴퓨터의 주소를 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
FtpLogin

FTP(파일 전송 프로토콜)를 통해 구독 초기화를 허용하는 게시의 경우 FTP 서버에 연결하는 데 사용되는 로그인을 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
FtpPassword

FTP(파일 전송 프로토콜)를 통해 구독 초기화를 허용하는 게시의 경우 FTP 서버에 연결하는 데 사용되는 로그인 암호를 설정합니다.

(다음에서 상속됨 Publication)
FtpPort

FTP(파일 전송 프로토콜)를 통해 구독 초기화를 허용하는 게시의 경우 FTP 서버 컴퓨터의 포트를 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
FtpSubdirectory

FTP(파일 전송 프로토콜)를 통해 구독 초기화를 허용하는 게시의 경우 FTP 서버 컴퓨터의 하위 디렉터리를 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
HasSubscription

게시에 하나 이상의 구독이 있는지 여부를 가져옵니다.

(다음에서 상속됨 Publication)
IsExistingObject

서버에 개체가 있는지 여부를 가져옵니다.

(다음에서 상속됨 ReplicationObject)
MaxConcurrentDynamicSnapshots

매개 변수가 있는 행 필터가 게시에 있는 경우 데이터 스냅샷을 생성할 때 지원되는 동시 스냅샷 에이전트 세션의 최대 수를 가져오거나 설정합니다.

MaxConcurrentMerge

게시와 동시에 동기화할 수 있는 최대 병합 에이전트의 수를 가져오거나 설정합니다.

MergeArticles

병합 게시의 기존 아티클을 가져옵니다.

MergeSubscriptions

병합 게시에 속하는 구독을 가져옵니다.

Name

게시의 이름을 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
PartitionGroupsOption

동기화 프로세스를 최적화하기 위해 사전 계산 파티션을 사용해야 하는지 여부를 가져오거나 설정합니다.

PostSnapshotScript

초기 스냅샷이 구독자에 적용된 후 실행되는 Transact-SQL 스크립트 파일의 이름과 전체 경로를 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
PreSnapshotScript

초기 스냅샷이 구독자에 적용되기 전에 실행되는 Transact-SQL 스크립트 파일의 이름과 전체 경로를 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
Priority

게시의 우선 순위를 가져옵니다.

PubId

게시를 고유하게 식별하는 값을 가져옵니다.

(다음에서 상속됨 Publication)
ReplicateDdl

DDL(데이터 정의 언어) 변경 내용이 복제되는지 여부를 결정하는 DDL 복제 옵션을 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
RetentionPeriod

구독이 게시와 동기화되지 않은 경우 구독이 만료될 때까지의 시간을 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
RetentionPeriodUnit

RetentionPeriodUnit 속성이 표현되는 단위를 가져오거나 설정합니다.

SecureFtpPassword

FTP(파일 전송 프로토콜)를 통해 구독 초기화를 허용하는 게시의 경우 FTP 서버에 연결하는 데 사용되는 로그인 암호를 SecureString 개체 형식으로 설정합니다.

(다음에서 상속됨 Publication)
SnapshotAgentExists

이 게시에 대한 초기 스냅샷을 생성하기 위한 SQL Server 에이전트 작업이 있는지를 가져옵니다.

(다음에서 상속됨 Publication)
SnapshotAvailable

이 게시에 대한 스냅샷 파일이 생성되어 구독자를 초기화하는 데 사용할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다.

SnapshotGenerationAgentProcessSecurity

스냅숏 에이전트 작업이 실행되는 Windows 계정을 설정하는 개체를 가져옵니다.

(다음에서 상속됨 Publication)
SnapshotGenerationAgentPublisherSecurity

스냅숏 에이전트에서 게시자에 연결하는 데 사용하는 보안 컨텍스트를 가져옵니다.

(다음에서 상속됨 Publication)
SnapshotJobId

현재 게시에 대한 스냅숏 에이전트 작업 ID를 가져옵니다.

(다음에서 상속됨 Publication)
SnapshotMethod

초기 스냅샷의 데이터 파일 형식을 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
SnapshotSchedule

현재 게시에 대한 스냅숏 에이전트의 일정을 설정하는 개체를 가져옵니다.

(다음에서 상속됨 Publication)
SqlServerName

이 개체가 연결된 Microsoft SQL Server 인스턴스의 이름을 가져옵니다.

(다음에서 상속됨 ReplicationObject)
Status

게시의 상태를 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
Type

게시 유형을 가져오거나 설정합니다.

(다음에서 상속됨 Publication)
UserData

사용자가 자신의 고유 데이터를 개체에 연결할 수 있도록 하는 개체 속성을 가져오거나 설정합니다.

(다음에서 상속됨 ReplicationObject)
UsesHostName

병합 게시에 HOST_NAME 함수를 사용하여 파티션을 평가하는 매개 변수가 있는 행 필터가 있는지 여부를 나타내는 값을 가져옵니다.

ValidateSubscriberInfo

매개 변수가 있는 행 필터를 사용할 때 게시된 데이터의 구독자 파티션을 정의하는 데 사용할 함수를 가져오거나 설정합니다.

WebSynchronizationUrl

웹 동기화에 사용되는 URL을 가져오거나 설정합니다.

메서드

AddMergeDynamicSnapshotJob(MergeDynamicSnapshotJob, ReplicationAgentSchedule)

매개 변수가 있는 행 필터가 사용되는 경우 구독자에 대한 필터링된 데이터 파티션을 생성하는 스냅숏 에이전트 작업을 추가합니다.

AddMergeDynamicSnapshotJobForLateBoundComClients(Object, Object)

매개 변수가 있는 행 필터가 사용되는 경우 구독자에 대한 필터링된 데이터 파티션을 생성하는 스냅숏 에이전트 작업을 추가할 수 있도록 런타임에 바인딩되는 COM 클라이언트를 설정합니다.

AddMergePartition(MergePartition)

매개 변수가 있는 행 필터를 사용하여 병합 게시에 대한 구독자 파티션을 정의합니다.

BrowseSnapshotFolder()

스냅샷 파일이 생성된 디렉터리 위치의 전체 경로를 반환합니다.

ChangeMergeDynamicSnapshotJobScheduleWithJobId(String, ReplicationAgentSchedule)

작업 ID를 기반으로 구독자에 대한 필터링된 데이터 파티션을 생성하는 스냅숏 에이전트 작업의 일정을 수정합니다.

ChangeMergeDynamicSnapshotJobScheduleWithJobIdForLateBoundComClients(String, Object)

작업 ID를 기반으로 구독자에 대한 필터링된 데이터 파티션을 생성하는 스냅숏 에이전트 작업의 일정을 수정할 수 있도록 런타임에 바인딩되는 COM 클라이언트를 설정합니다.

ChangeMergeDynamicSnapshotJobScheduleWithJobName(String, ReplicationAgentSchedule)

작업 이름을 기반으로 구독자에 대한 필터링된 데이터 파티션을 생성하는 스냅숏 에이전트 작업의 일정을 수정합니다.

ChangeMergeDynamicSnapshotJobScheduleWithJobNameForLateBoundComClients(String, Object)

작업 이름을 기반으로 구독자에 대한 필터링된 데이터 파티션을 생성하는 스냅숏 에이전트 작업의 일정을 수정할 수 있도록 런타임에 바인딩되는 COM 클라이언트를 설정합니다.

CheckValidCreation()

유효한 복제 만들기를 확인합니다.

(다음에서 상속됨 ReplicationObject)
CheckValidDefinition(Boolean)

유효한 정의를 검사할지 여부를 나타냅니다.

(다음에서 상속됨 Publication)
CommitPropertyChanges()

캐시된 모든 속성 변경 문을 Microsoft SQL Server 인스턴스로 보냅니다.

(다음에서 상속됨 ReplicationObject)
CopySnapshot(String)

스냅샷 폴더에서 병합 게시에 대한 스냅샷 파일을 대상 폴더에 복사합니다.

Create()

게시를 만듭니다.

(다음에서 상속됨 Publication)
CreateSnapshotAgent()

이 작업이 아직 없는 경우 게시에 대한 초기 스냅샷을 생성하는 데 사용되는 SQL Server 에이전트 작업을 만듭니다.

(다음에서 상속됨 Publication)
Decouple()

참조된 복제 개체를 서버에서 분리합니다.

(다음에서 상속됨 ReplicationObject)
DisableSynchronizationPartner(String, String, String)

이 병합 게시에 대해 지정된 동기화 파트너를 사용하지 않도록 설정합니다.

EnableSynchronizationPartner(SynchronizationPartner)

이 병합 게시에 대해 지정된 동기화 파트너를 사용하도록 설정합니다.

EnumAllMergeJoinFilters()

병합 게시에 정의된 모든 병합 조인 필터를 반환합니다.

EnumArticles()

게시의 아티클을 반환합니다.

(다음에서 상속됨 Publication)
EnumMergeDynamicSnapshotJobs()

병합 동적 스냅샷 작업의 목록을 반환합니다.

EnumMergePartitions()

이 병합 게시에 대해 정의된 구독자 파티션을 반환합니다.

EnumPublicationAccesses(Boolean)

게시자에 액세스할 수 있는 로그인을 반환합니다.

(다음에서 상속됨 Publication)
EnumSubscriptions()

게시를 구독하는 구독을 반환합니다.

(다음에서 상속됨 Publication)
EnumSynchronizationPartners()

이 병합 게시에 대한 대체 동기화 파트너를 반환합니다.

GenerateFilters()

병합 게시의 필터를 만듭니다.

GetChangeCommand(StringBuilder, String, String)

복제에서 변경 명령을 반환합니다.

(다음에서 상속됨 ReplicationObject)
GetCreateCommand(StringBuilder, Boolean, ScriptOptions)

복제에서 생성 명령을 반환합니다.

(다음에서 상속됨 ReplicationObject)
GetDropCommand(StringBuilder, Boolean)

복제에서 삭제 명령을 반환합니다.

(다음에서 상속됨 ReplicationObject)
GetMergeDynamicSnapshotJobScheduleWithJobId(String)

작업 ID를 기반으로 구독자에 대한 필터링된 데이터 파티션을 생성하는 스냅숏 에이전트 작업의 일정을 반환합니다.

GetMergeDynamicSnapshotJobScheduleWithJobName(String)

작업 이름을 기반으로 구독자에 대한 필터링된 데이터 파티션을 생성하는 스냅숏 에이전트 작업의 일정을 반환합니다.

GrantPublicationAccess(String)

지정된 로그인을 PAL(게시 액세스 목록)에 추가합니다.

(다음에서 상속됨 Publication)
InternalRefresh(Boolean)

복제에서 내부 새로 고침을 시작합니다.

(다음에서 상속됨 ReplicationObject)
Load()

서버에서 기존 개체의 속성을 로드합니다.

(다음에서 상속됨 ReplicationObject)
LoadProperties()

서버에서 기존 개체의 속성을 로드합니다.

(다음에서 상속됨 ReplicationObject)
MakePullSubscriptionWellKnown(String, String, SubscriptionSyncType, MergeSubscriberType, Single)

게시자에서 병합 끌어오기 구독을 등록합니다.

ReadLastValidationDateTimes(String, String)

구독자에 대한 가장 최근의 구독 유효성 검사 정보를 반환합니다.

Refresh()

개체의 속성을 다시 로드합니다.

(다음에서 상속됨 ReplicationObject)
ReinitializeAllSubscriptions(Boolean)

모든 구독을 다시 초기화하도록 표시합니다.

Remove()

기존 게시를 제거합니다.

(다음에서 상속됨 Publication)
Remove(Boolean)

배포자에 액세스할 수 없는 경우에도 기존 게시를 제거합니다.

(다음에서 상속됨 Publication)
RemoveMergeDynamicSnapshotJob(String)

병합 게시에서 지정된 동적 스냅샷 작업을 제거합니다.

RemoveMergePartition(MergePartition)

병합 게시에 정의된 기존 구독자 파티션을 제거합니다.

RemovePullSubscription(String, String)

병합 게시에 대한 끌어오기 구독이 있는 구독자의 등록을 제거합니다.

ReplicateUserDefinedScript(String)

사용자 정의 스크립트 실행을 지정된 게시의 구독자에 복제합니다.

(다음에서 상속됨 Publication)
ResynchronizeSubscription(String, String, ResynchronizeType, String)

병합 구독을 사용자가 지정한 알려진 유효성 검사 상태로 다시 동기화합니다.

RevokePublicationAccess(String)

지정된 로그인을 PAL(게시 액세스 목록)에서 제거합니다.

(다음에서 상속됨 Publication)
Script(ScriptOptions)

스크립트 옵션에서 지정한 대로 게시를 다시 만드는 데 사용할 수 있는 Transact-SQL 스크립트를 생성합니다.

(다음에서 상속됨 Publication)
ScriptMergeDynamicSnapshotJob(MergeDynamicSnapshotJob, ReplicationAgentSchedule, ScriptOptions)

매개 변수가 있는 행 필터를 사용하여 게시에 대한 구독자의 분할된 데이터 스냅샷을 생성하는 스냅샷 에이전트 작업을 다시 만드는 데 사용할 수 있는 Transact-SQL 스크립트를 생성합니다.

ScriptMergePartition(MergePartition, ScriptOptions)

매개 변수가 있는 행 필터를 사용하여 게시에 대한 구독자 파티션을 다시 만드는 데 사용할 수 있는 Transact-SQL 스크립트를 생성합니다.

ScriptPublicationActivation(ScriptOptions)

실행할 때 병합 게시의 상태를 활성으로 설정하는 Transact-SQL 스크립트를 생성합니다.

StartSnapshotGenerationAgentJob()

게시에 대한 초기 스냅샷을 생성하는 작업을 시작합니다.

(다음에서 상속됨 Publication)
StopSnapshotGenerationAgentJob()

실행 중인 스냅숏 에이전트 작업을 중지하려고 합니다.

(다음에서 상속됨 Publication)
ValidatePublication(ValidationOption)

모든 구독에 대해 다음 동기화 중에 유효성을 검사하도록 표시합니다.

ValidateSubscription(String, String, ValidationOption)

지정된 구독에 대해 다음 동기화 중에 유효성을 검사하도록 표시합니다.

적용 대상

추가 정보