Share via


SoapPayloadMethodCollection.Item Property (String, String)

Gets a SoapPayloadMethod object in the specified collection by name.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String, _
    methodNamespace As String _
) As SoapPayloadMethod
    Get
'Usage
Dim instance As SoapPayloadMethodCollection
Dim name As String
Dim methodNamespace As String
Dim value As SoapPayloadMethod

value = instance(name, methodNamespace)
public SoapPayloadMethod this[
    string name,
    string methodNamespace
] { get; }
public:
property SoapPayloadMethod^ default[String^ name, String^ methodNamespace] {
    SoapPayloadMethod^ get (String^ name, String^ methodNamespace);
}
member Item : SoapPayloadMethod
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.SoapPayloadMethod
A SoapPayloadMethod object value that represents the SOAP payload method.