Freigeben über


UserDefinedFunction.TextHeader-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property TextHeader As String 
    Get 
    Set
'Usage
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)

Eigenschaftswert

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

Implementiert

ITextObject.TextHeader

Beispiele

Festlegen von Eigenschaften

Siehe auch

Verweis

UserDefinedFunction Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Benutzerdefinierte Funktionen (Datenbankmodul)

CREATE FUNCTION (Transact-SQL)