ServerConnection.ISfcConnection.ToEnumeratorObject Method

Renders an enumerator object for the server connection.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Private Function ToEnumeratorObject As Object
    Implements ISfcConnection.ToEnumeratorObject
'Usage
Dim instance As ServerConnection
Dim returnValue As Object

returnValue = CType(instance, ISfcConnection).ToEnumeratorObject()
Object ISfcConnection.ToEnumeratorObject()
private:
virtual Object^ ToEnumeratorObject() sealed = ISfcConnection::ToEnumeratorObject
private abstract ToEnumeratorObject : unit -> Object 
private override ToEnumeratorObject : unit -> Object 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.Object
The specified enumerator object.

Implements

ISfcConnection.ToEnumeratorObject()