Partilhar via


Propriedade do RDL UserDefinedFunction.Parameters

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(UserDefinedFunctionParameter), SfcObjectFlags.None Or SfcObjectFlags.NaturalOrder Or SfcObjectFlags.Design)> _
Public ReadOnly Property Parameters As UserDefinedFunctionParameterCollection 
    Get
'Uso
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

Valor da propriedade

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

Exemplos

Definindo propriedades

Consulte também

Referência

UserDefinedFunction Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Funções definidas pelo usuário (Mecanismo de Banco de Dados)

CREATE FUNCTION (Transact-SQL)