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. |