TransPublication コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
TransPublication クラスの新しいインスタンスを作成します。
オーバーロード
| 名前 | 説明 |
|---|---|
| TransPublication() |
TransPublication クラスの新しいインスタンスを作成します。 |
| TransPublication(String, String, ServerConnection) |
必要なプロパティを持つ TransPublication クラスの新しいインスタンスを作成します。 |
| TransPublication(String, String, ServerConnection, Boolean) |
必要なプロパティを持つTransPublicationクラスの新しいインスタンスを作成し、出版のスナップショット エージェントジョブが作成されるかどうかを示します。 |
注釈
更新テキスト:2006年7月17日
以下の表は新しい TransPublicationインスタンスのデフォルトのプロパティ値を示しています。 この表に明示的に列挙されていないプロパティは null 値に初期化されます。
| 財産 | 既定値 |
|---|---|
| Attributes |
AllowPush値とSnapshotInDefaultFolderの値PublicationAttributes |
| CachePropertyChanges | false |
| ConflictPolicy |
PublisherWinの値ConflictPolicyOption |
| ConflictRetention | 14日 |
| ContinueOnConflict | false |
| CreateSnapshotAgentByDefault | false |
| FtpPort 1 | 21 |
| HasSubscription | false |
| IsExistingObject | false |
| QueueType |
Sqlの値QueueOption |
| ReplicateDdl |
Allの値DdlReplicationOptions |
| RetentionPeriod | 0(期限切れがない) |
| SnapshotAgentExists | false |
| SnapshotAvailable | false |
| SnapshotGenerationAgentPublisherSecurity |
trueの値WindowsAuthentication |
| SnapshotMethod |
BcpNativeの値InitialSyncType |
| SnapshotSchedule | 99991231の値 ActiveEndDate 235959の値 ActiveEndTime 0 の値は ActiveStartDate 0 の値は ActiveStartTime 1の値 FrequencyInterval 0 の値は FrequencyRecurrenceFactor Firstの値FrequencyRelativeIntervalHourの値FrequencySubDay1の値 FrequencySubDayInterval Dailyの値FrequencyType |
| Status |
Activeの値State |
| Type |
Transactionalの値PublicationType |
1 FTP(ファイル転送プロトコル)ポートは、スナップショットをFTPで転送する場合のみ使用されます。 詳細については、「FTP によるスナップショットの転送」を参照してください。
TransPublication()
TransPublication クラスの新しいインスタンスを作成します。
public:
TransPublication();
public TransPublication();
Public Sub New ()
適用対象
TransPublication(String, String, ServerConnection)
必要なプロパティを持つ TransPublication クラスの新しいインスタンスを作成します。
public:
TransPublication(System::String ^ name, System::String ^ databaseName, Microsoft::SqlServer::Management::Common::ServerConnection ^ connectionContext);
public TransPublication(string name, string databaseName, Microsoft.SqlServer.Management.Common.ServerConnection connectionContext);
new Microsoft.SqlServer.Replication.TransPublication : string * string * Microsoft.SqlServer.Management.Common.ServerConnection -> Microsoft.SqlServer.Replication.TransPublication
Public Sub New (name As String, databaseName As String, connectionContext As ServerConnection)
パラメーター
- connectionContext
- ServerConnection
非SQL Server PublisherのPublisherまたはディストリビューターとの接続を表すServerConnectionオブジェクト。
適用対象
TransPublication(String, String, ServerConnection, Boolean)
必要なプロパティを持つTransPublicationクラスの新しいインスタンスを作成し、出版のスナップショット エージェントジョブが作成されるかどうかを示します。
public:
TransPublication(System::String ^ name, System::String ^ databaseName, Microsoft::SqlServer::Management::Common::ServerConnection ^ connectionContext, bool createSnapshotAgentByDefault);
public TransPublication(string name, string databaseName, Microsoft.SqlServer.Management.Common.ServerConnection connectionContext, bool createSnapshotAgentByDefault);
new Microsoft.SqlServer.Replication.TransPublication : string * string * Microsoft.SqlServer.Management.Common.ServerConnection * bool -> Microsoft.SqlServer.Replication.TransPublication
Public Sub New (name As String, databaseName As String, connectionContext As ServerConnection, createSnapshotAgentByDefault As Boolean)
パラメーター
- connectionContext
- ServerConnection
非SQL Server PublisherのPublisherまたはディストリビューターとの接続を表すServerConnectionオブジェクト。