UserDefinedFunctionCollection.Item[String, String] UserDefinedFunctionCollection.Item[String, String] UserDefinedFunctionCollection.Item[String, String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32]

Gets a UserDefinedFunction object in the collection by index number.

Item[String] Item[String] Item[String]

Gets a UserDefinedFunction object in the collection by name.

Item[String, String] Item[String, String] Item[String, String]

Gets a UserDefinedFunction object in the collection by name and schema.

Item[Int32] Item[Int32] Item[Int32]

Gets a UserDefinedFunction object in the collection by index number.

public:
 property Microsoft::SqlServer::Management::Smo::UserDefinedFunction ^ default[int] { Microsoft::SqlServer::Management::Smo::UserDefinedFunction ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.UserDefinedFunction this[int index] { get; }
Default Public ReadOnly Property Item(index As Integer) As UserDefinedFunction
Parameters
index
Int32 Int32 Int32

An Int32 value that specifies the position of the UserDefinedFunction object in the UserDefinedFunctionCollection collection.

Property Value

A UserDefinedFunction object value that represents the user-defined function.

Examples

Using Collections

Item[String] Item[String] Item[String]

Gets a UserDefinedFunction object in the collection by name.

public:
 property Microsoft::SqlServer::Management::Smo::UserDefinedFunction ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::UserDefinedFunction ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.UserDefinedFunction this[string name] { get; }
Default Public ReadOnly Property Item(name As String) As UserDefinedFunction
Parameters
name
String String String

A String value that specifies the name of the UserDefinedFunction object in the UserDefinedFunctionCollection collection.

Property Value

A UserDefinedFunction object value that represents the user-defined function.

Examples

Using Collections

Item[String, String] Item[String, String] Item[String, String]

Gets a UserDefinedFunction object in the collection by name and schema.

public:
 property Microsoft::SqlServer::Management::Smo::UserDefinedFunction ^ default[System::String ^, System::String ^] { Microsoft::SqlServer::Management::Smo::UserDefinedFunction ^ get(System::String ^ name, System::String ^ schema); };
public Microsoft.SqlServer.Management.Smo.UserDefinedFunction this[string name, string schema] { get; }
Default Public ReadOnly Property Item(name As String, schema As String) As UserDefinedFunction
Parameters
name
String String String

A String value that specifies the name of the UserDefinedFunction object in the UserDefinedFunctionCollection collection.

schema
String String String

A String value that specifies the name of the schema.

Property Value

A UserDefinedFunction object value that represents the user-defined function.

Examples

Using Collections

Applies to