Partager via


ConnectorFactory.GetServerConnector<T> Method (String)

 

Returns a ProviderConnector<T> 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
)
where T : class
public:
generic<typename T>
where T : ref class
static ProviderConnector<T>^ GetServerConnector(
    String^ identifier
)
Public Shared Function GetServerConnector(Of T As Class) (
    identifier As String
) 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