Share via


UserDefinedFunction.Parameters Property

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

Property Value

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