Udostępnij przez


Metoda SfcRegistration.GetRegisteredDomainForType (String, Boolean)

Określone tylko w celach informacyjnych. Nieobsługiwane. Przyszła zgodność nie jest gwarantowana.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw:  Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Składnia

'Deklaracja
Public Shared Function GetRegisteredDomainForType ( _
    fullTypeName As String, _
    throwOnUnregisteredDomain As Boolean _
) As String
'Użycie
Dim fullTypeName As String
Dim throwOnUnregisteredDomain As Boolean
Dim returnValue As String

returnValue = SfcRegistration.GetRegisteredDomainForType(fullTypeName, _
    throwOnUnregisteredDomain)
public static string GetRegisteredDomainForType(
    string fullTypeName,
    bool throwOnUnregisteredDomain
)
public:
static String^ GetRegisteredDomainForType(
    String^ fullTypeName, 
    bool throwOnUnregisteredDomain
)
static member GetRegisteredDomainForType : 
        fullTypeName:string * 
        throwOnUnregisteredDomain:bool -> string 
public static function GetRegisteredDomainForType(
    fullTypeName : String, 
    throwOnUnregisteredDomain : boolean
) : String

Parametry

  • throwOnUnregisteredDomain
    Typ: System.Boolean
    TRUE do niezarejestrowanego domena; w przeciwnym razie false.

Wartość zwracana

Typ: System.String
Nazwa domena dla określonego typu.