Udostępnij za pośrednictwem


Właściwość UserDefinedFunctionCollection.Item (String, String)

Pobiera UserDefinedFunction obiektu kolekcja według nazwy i schematu.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
Public ReadOnly Default Property Item ( _
    name As String, _
    schema As String _
) As UserDefinedFunction
    Get
'Użycie
Dim instance As UserDefinedFunctionCollection
Dim name As String
Dim schema As String
Dim value As UserDefinedFunction

value = instance(name, schema)
public UserDefinedFunction this[
    string name,
    string schema
] { get; }
public:
property UserDefinedFunction^ default[String^ name, String^ schema] {
    UserDefinedFunction^ get (String^ name, String^ schema);
}
member Item : UserDefinedFunction
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.

Parametry

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Smo.UserDefinedFunction
A UserDefinedFunction wartość obiektu, który reprezentuje funkcja zdefiniowanej przez użytkownika.