Freigeben über


UserDefinedFunction.Parameters-Eigenschaft

Represents a collection of Parameter objects. Each Parameter object represents a parameter defined for the user-defined function.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(UserDefinedFunctionParameter), SfcObjectFlags.None Or SfcObjectFlags.NaturalOrder Or SfcObjectFlags.Design)> _
Public ReadOnly Property Parameters As UserDefinedFunctionParameterCollection 
    Get
'Usage
Dim instance As UserDefinedFunction 
Dim value As UserDefinedFunctionParameterCollection 

value = instance.Parameters
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(UserDefinedFunctionParameter), SfcObjectFlags.None|SfcObjectFlags.NaturalOrder|SfcObjectFlags.Design)]
public UserDefinedFunctionParameterCollection Parameters { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(UserDefinedFunctionParameter), SfcObjectFlags::None|SfcObjectFlags::NaturalOrder|SfcObjectFlags::Design)]
public:
property UserDefinedFunctionParameterCollection^ Parameters {
    UserDefinedFunctionParameterCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(UserDefinedFunctionParameter), SfcObjectFlags.None|SfcObjectFlags.NaturalOrder|SfcObjectFlags.Design)>]
member Parameters : UserDefinedFunctionParameterCollection
function get Parameters () : UserDefinedFunctionParameterCollection

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionParameterCollection
A UserDefinedFunctionParameterCollection object that represents all the parameters defined for the user-defined function.

Beispiele

Festlegen von Eigenschaften

Siehe auch

Verweis

UserDefinedFunction Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Benutzerdefinierte Funktionen (Datenbankmodul)

CREATE FUNCTION (Transact-SQL)