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
注釈
スレッド セーフ
このタイプの公開静的(Microsoft Visual BasicShared)メンバーはマルチスレッド操作に安全です。 インスタンス メンバーがスレッド セーフであるとは限りません。
コンストラクター
| 名前 | 説明 |
|---|---|
| MergePublication() |
MergePublication クラスの新しいインスタンスを作成します。 |
| MergePublication(String, String, ServerConnection, Boolean) |
MergePublicationクラスのインスタンスを作成し、スナップショット エージェントジョブをデフォルトで作成すべきかどうかを指定します。 |
| MergePublication(String, String, ServerConnection) |
指定された名前、データベース、およびPublisherへの接続を持つ新しいMergePublicationインスタンスを初期化します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| 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 |
出版物が1つ以上の購読者かどうかを把握します。 (継承元 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 |
スナップショット エージェントが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を取得したり設定したりします。 |
メソッド
| 名前 | 説明 |
|---|---|
| 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) |
レプリケーションからの変更コマンドを返します。 (継承元 ReplicationObject) |
| GetCreateCommand(StringBuilder, Boolean, ScriptOptions) |
レプリケーションからcreateコマンドを返します。 (継承元 ReplicationObject) |
| GetDropCommand(StringBuilder, Boolean) |
レプリケーションからドロップコマンドを返します。 (継承元 ReplicationObject) |
| GetMergeDynamicSnapshotJobScheduleWithJobId(String) |
ジョブIDに基づいてサブスクライバーのフィルタリングデータパーティションを生成するスナップショット エージェントジョブのスケジュールを返します。 |
| GetMergeDynamicSnapshotJobScheduleWithJobName(String) |
ジョブ名に基づいてSubscriberのフィルタリングデータパーティションを生成するスナップショット エージェントジョブのスケジュールを返します。 |
| 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) |
指定されたサブスクリプションを次の同期時に検証するマークを示します。 |