共用方式為


StoredProcedure.ImplementationType 屬性

Gets or sets the implementation type of the stored procedure.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design,  _
    "TransactSql")> _
Public Property ImplementationType As ImplementationType 
    Get 
    Set
'用途
Dim instance As StoredProcedure 
Dim value As ImplementationType 

value = instance.ImplementationType

instance.ImplementationType = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design, 
    "TransactSql")]
public ImplementationType ImplementationType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design, 
    L"TransactSql")]
public:
property ImplementationType ImplementationType {
    ImplementationType get ();
    void set (ImplementationType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design, 
    "TransactSql")>]
member ImplementationType : ImplementationType with get, set
function get ImplementationType () : ImplementationType 
function set ImplementationType (value : ImplementationType)

屬性值

型別:Microsoft.SqlServer.Management.Smo.ImplementationType
An ImplementationType object value that specifies the implementation type of the stored procedure.

備註

This property specifies whether the stored procedure is implemented with a SQL Server common language runtime (CLR) type or with Transact-SQL. If the stored procedure is implemented with a SQL Server CLR type then values are required for the ExecutionContextPrincipal property, the AssemblyName property, the ClassName property, and the MethodName property.

範例

建立、改變和移除預存程序

請參閱

參考

StoredProcedure 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE PROCEDURE (Transact-SQL)