Partager via


ConnectorFactory.GetServerConnector<T> Method (String, Object)

 

Returns a ProviderConnector<T> object with the specified callback object for the provider with the specified identifier.

Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)

Syntax

public static ProviderConnector<T> GetServerConnector<T>(
    string identifier,
    object callback
)
where T : class
public:
generic<typename T>
where T : ref class
static ProviderConnector<T>^ GetServerConnector(
    String^ identifier,
    Object^ callback
)
Public Shared Function GetServerConnector(Of T As Class) (
    identifier As String,
    callback As Object
) As ProviderConnector(Of T)

Parameters

  • identifier
    Type: System.String

    Identifier of the provider that is used.

Return Value

Type: Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderConnector<T>

An instance of ProviderConnector<T> that has not started a connection.

Type Parameters

  • T
    Represents the contract type.

See Also

GetServerConnector Overload
ConnectorFactory Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace

Return to top