共用方式為


UserDefinedFunction.TextHeader 屬性

Gets or sets the header part of the Transact-SQL string that defines the user-defined function.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property TextHeader As String 
    Get 
    Set
'用途
Dim instance As UserDefinedFunction 
Dim value As String 

value = instance.TextHeader

instance.TextHeader = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public string TextHeader { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
virtual property String^ TextHeader {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
abstract TextHeader : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
override TextHeader : string with get, set
final function get TextHeader () : String 
final function set TextHeader (value : String)

屬性值

型別:System.String
A String value that specifies the text header from the definition of the user-defined function.

實作

ITextObject.TextHeader

範例

設定屬性

請參閱

參考

UserDefinedFunction 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

使用者定義函數 (Database Engine)

CREATE FUNCTION (Transact-SQL)