Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a new instance of the TransSubscription class.
Remarks
Updated text: 17 July 2006
The following table shows the default property values for a new instance of TransSubscription. Any properties that are not explicitly enumerated in this table are initialized to a null value.
Property |
Default value |
false |
|
A value of 99991231 for ActiveEndDate A value of 235959 for ActiveEndTime A value of 0 for ActiveStartDate A value of 0 for ActiveStartTime A value of 1 for FrequencyInterval A value of 0 for FrequencyRecurrenceFactor A value of First for FrequencyRelativeInterval A value of Minute for FrequencySubDay A value of 5 for FrequencySubDayInterval A value of Continuously for FrequencyType |
|
false |
|
true |
|
false |
|
true |
|
false |
|
true |
|
A value of Inactive for SubscriptionState |
|
A value of SqlServer for SubscriberType |
|
A value of true for WindowsAuthentication |
|
A value of ReadOnly for TransSubscriberType |
|
A value of Push for SubscriptionOption |
|
An instance of TransSynchronizationAgent from the publication that is associated with the subscription you create. |
|
A value of Automatic for SubscriptionSyncType |
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Overload List
| Name | Description |
|---|---|
| TransSubscription () |
Creates a new instance of the TransSubscription class.
|
| TransSubscription (String, String, String, String, ServerConnection) |
Creates a new instance of the TransSubscription class with the specified publication, database, Subscriber, and subscriber database, and with the specified connection to the instance of Microsoft SQL Server.
|
See Also
Reference
TransSubscription Class
TransSubscription Members
Microsoft.SqlServer.Replication Namespace
Other Resources
How to: Create a Push Subscription (RMO Programming)
Change History
Release |
History |
17 July 2006 |
New content:
|