Type Property (RegisteredSubscriber)
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新しい開発作業では、この機能の使用を避け、現在この機能を使用しているアプリケーションは修正するようにしてください。
The Type property exposes configured attributes of the referenced Microsoft SQL Server component.
構文
object.Type [= value]
Parts
object
An expression that evaluates to an object in the Applies To list.value
A long integer that specifies a data source type as described in Settings.
Data Type
Long, enumerated
Modifiable
Read/write when using the RegisteredSubscriber object to define a replication Subscriber. Read-only when the RegisteredSubscriber object references an existing Subscriber definition record.
Prototype (C/C++)
HRESULT GetType(SQLDMO_SUBSCRIBER_TYPE* pRetVal)
HRESULT SetType(SQLDMO_SUBSCRIBER_TYPE NewValue)
Settings
Set value using these SQLDMO_SUBSCRIBER_TYPE values.
Constant |
Value |
Description |
---|---|---|
SQLDMOSubInfo_/ExchangeServer |
4 |
The Type property of the RegisteredSubscriber object that identifies a Microsoft Exchange Server installation persisted as a SQL Server linked server. |
SQLDMOSubInfo_JetDatabase |
2 |
The Name property of the RegisteredSubscriberobject that identifies a Microsoft Jet version 3.5 database. |
SQLDMOSubInfo_/ODBCDatasource |
1 |
The Name property of the RegisteredSubscriber object that identifies an ODBC user or system data source name. |
SQLDMOSubInfo_/OLEDBDatasource |
3 |
The Type property of the RegisteredSubscriber object that identifies an OLE DB data source specification, or the Microsoft Jet version 4.0 database persisted as a SQL Server linked server. |
SQLDMOSubInfo_SQLServer |
0 |
The Name property of the RegisteredSubscriber object that identifies an instance of SQL Server by SQL Server name. |