MergePublication 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
합병 출판물을 나타냅니다.
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
설명
스레드 안전성
이 유형의 공용 정적(SharedMicrosoft Visual Basic) 멤버는 멀티스레드 연산에 안전합니다. 모든 인스턴스 멤버는 스레드로부터 안전하게 보호되지 않습니다.
생성자
| Name | Description |
|---|---|
| MergePublication() |
MergePublication 클래스의 새 인스턴스를 만듭니다. |
| MergePublication(String, String, ServerConnection, Boolean) |
클래스의 MergePublication 인스턴스를 생성하여 스냅샷 에이전트 작업이 기본적으로 생성되어야 하는지 지정합니다. |
| MergePublication(String, String, ServerConnection) |
지정된 이름, 데이터베이스, Publisher와의 연결을 가진 클래스의 MergePublication 새 인스턴스를 초기화합니다. |
속성
| Name | Description |
|---|---|
| AltSnapshotFolder |
출판물의 대체 스냅샷 파일 위치를 얻거나 설정합니다. (다음에서 상속됨 Publication) |
| Attributes |
출판 속성을 얻거나 설정합니다. (다음에서 상속됨 Publication) |
| AutomaticReinitializationPolicy |
구독이 출판물 변경으로 인해 재초기화될 때 Publisher의 변경 사항이 Publisher에 업로드되는지 여부를 받거나 설정합니다. |
| 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 |
초기 스냅샷이 Subscriber에게 적용되기 전에 실행되는 Transact-SQL 스크립트 파일의 이름과 전체 경로를 받거나 설정합니다. (다음에서 상속됨 Publication) |
| Priority |
출판물의 우선권을 갖습니다. |
| PubId |
출판물을 고유하게 식별하는 값을 얻습니다. (다음에서 상속됨 Publication) |
| ReplicateDdl |
데이터 정의 언어(DDL) 복제 옵션을 받거나 설정하여 DDL 변경 사항이 복제되는지 결정합니다. (다음에서 상속됨 Publication) |
| RetentionPeriod |
구독이 출판물과 동기화되지 않을 때 구독이 만료되기 전까지 걸리는 시간을 설정합니다. (다음에서 상속됨 Publication) |
| RetentionPeriodUnit |
속성이 표현되는 RetentionPeriodUnit 단위를 얻거나 설정합니다. |
| SecureFtpPassword |
FTP를 통한 구독 초기화를 허용하는 출판물에 로그인할 때 로그인 비밀번호( SecureString 객체로서)를 설정합니다. (다음에서 상속됨 Publication) |
| SnapshotAgentExists |
SQL Server 에이전트 작업이 존재하는지 확인하여 이 출판물의 초기 스냅샷을 생성합니다. (다음에서 상속됨 Publication) |
| SnapshotAvailable |
이 출판물의 스냅샷 파일이 생성되어 구독자를 초기화할 수 있는지 여부를 나타내는 값을 받거나 설정합니다. |
| SnapshotGenerationAgentProcessSecurity |
스냅샷 에이전트 작업이 실행되는 Windows 계정을 설정하는 객체를 받습니다. (다음에서 상속됨 Publication) |
| SnapshotGenerationAgentPublisherSecurity |
스냅샷 에이전트가 Publisher에 연결할 때 사용하는 보안 컨텍스트를 얻습니다. (다음에서 상속됨 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을 받거나 설정합니다. |
메서드
| Name | Description |
|---|---|
| AddMergeDynamicSnapshotJob(MergeDynamicSnapshotJob, ReplicationAgentSchedule) |
매개변수화된 행 필터를 사용할 때 구독자를 위한 필터링된 데이터 파티션을 생성하는 스냅샷 에이전트 작업을 추가합니다. |
| AddMergeDynamicSnapshotJobForLateBoundComClients(Object, Object) |
레이트 바운드 COM 클라이언트가 매개변수화된 행 필터를 사용할 경우 구독자의 필터링된 데이터 파티션을 생성하는 스냅샷 에이전트 작업을 추가할 수 있게 합니다. |
| AddMergePartition(MergePartition) |
매개변수화된 행 필터를 가진 병합 출판물의 구독자 파티션을 정의합니다. |
| BrowseSnapshotFolder() |
스냅샷 파일이 생성되는 디렉터리 위치의 전체 경로를 반환합니다. |
| ChangeMergeDynamicSnapshotJobScheduleWithJobId(String, ReplicationAgentSchedule) |
스냅샷 에이전트 작업의 스케줄을 수정하여 구독자의 필터링된 데이터 파티션을 생성하며, 작업 ID를 기반으로 합니다. |
| ChangeMergeDynamicSnapshotJobScheduleWithJobIdForLateBoundComClients(String, Object) |
지연 COM 클라이언트가 작업 ID를 기반으로 구독자의 필터링된 데이터 파티션을 생성하는 스냅샷 에이전트 작업의 일정을 수정할 수 있게 합니다. |
| 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) |
Publisher에 접근할 수 있는 로그인 리턴. (다음에서 상속됨 Publication) |
| EnumSubscriptions() |
출판물을 구독하는 구독자를 반환합니다. (다음에서 상속됨 Publication) |
| EnumSynchronizationPartners() |
이 병합 출판물의 대체 동기화 파트너들을 반환합니다. |
| GenerateFilters() |
병합 출판물의 필터를 생성합니다. |
| GetChangeCommand(StringBuilder, String, String) |
복제에서 change 명령을 반환합니다. (다음에서 상속됨 ReplicationObject) |
| GetCreateCommand(StringBuilder, Boolean, ScriptOptions) |
복제에서 create 명령을 반환합니다. (다음에서 상속됨 ReplicationObject) |
| GetDropCommand(StringBuilder, Boolean) |
복제에서 drop 명령을 반환합니다. (다음에서 상속됨 ReplicationObject) |
| GetMergeDynamicSnapshotJobScheduleWithJobId(String) |
작업 ID를 기반으로 구독자의 필터링된 데이터 파티션을 생성하는 스냅샷 에이전트 작업의 스케줄을 반환합니다. |
| GetMergeDynamicSnapshotJobScheduleWithJobName(String) |
작업명을 기반으로 구독자의 필터링된 데이터 파티션을 생성하는 스냅샷 에이전트 작업의 스케줄을 반환합니다. |
| GrantPublicationAccess(String) |
지정된 로그인 정보를 출판 접근 목록(PAL)에 추가합니다. (다음에서 상속됨 Publication) |
| InternalRefresh(Boolean) |
복제에서 내부 갱신을 시작합니다. (다음에서 상속됨 ReplicationObject) |
| Load() |
서버에서 기존 객체의 속성을 불러옵니다. (다음에서 상속됨 ReplicationObject) |
| LoadProperties() |
서버에서 기존 객체의 속성을 불러옵니다. (다음에서 상속됨 ReplicationObject) |
| MakePullSubscriptionWellKnown(String, String, SubscriptionSyncType, MergeSubscriberType, Single) |
Publisher에서 머지 풀 구독을 등록합니다. |
| 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) |
지정된 구독을 다음 동기화 시 검증할 수 있도록 표시합니다. |