다음을 통해 공유


Type Property (StoredProcedure)

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 controls interpretation of SQL Server stored procedure text as described in Settings.

Data Type

Long, enumerated

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetType(SQLDMO_PROCEDURE_TYPE* pRetVal)
HRESULT SetType(SQLDMO_PROCEDURE_TYPE NewValue)

Settings

Constant

Value

Description

SQLDMOProc_Extended

2

The StoredProcedure object references an extended stored procedure.

SQLDMOProc_Macro

3

Reserved for future use.

SQLDMOProc_ReplicationFilter

4

Reserved for future use.

SQLDMOProc_Standard

1

Default. The StoredProcedure object references a SQL Server stored procedure.

SQLDMOProc_Unknown

0

The value is not valid.

주의

When the StoredProcedure object is used to create a SQL Server stored procedure, setting the Name, Type, and Text properties defines the stored procedure. By default, the text of a stored procedure is interpreted as a Transact-SQL script. If the stored procedure is an entry point for an extended stored procedure, the text of the procedure specifies an executable-image library by name.