Поделиться через


Свойство UserDefinedFunction.ImplementationType

Gets or sets the implementation type of the user-defined function.

Пространство имен:  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 UserDefinedFunction 
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 user-defined function.

Замечания

This property specifies whether the user-defined function is implemented with an SQL Server CLR type or with Transact-SQL. If the user-defined function is implemented with an SQL Server CLR type then values are required for the ExecutionContextPrincipal property, the AssemblyName property, the ClassName property, and the MethodName property.

Примеры

Установка свойств

См. также

Справочник

UserDefinedFunction Класс

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Определяемые пользователем функции (компонент Database Engine)

CREATE FUNCTION (Transact-SQL)