Compartilhar via


Método GetRegisteredDomainForType (String, Boolean)

Identificado apenas para fins informativos. Sem suporte. A compatibilidade futura não está garantida.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Public Shared Function GetRegisteredDomainForType ( _
    fullTypeName As String, _
    throwOnUnregisteredDomain As Boolean _
) As String
'Uso
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

Parâmetros

  • throwOnUnregisteredDomain
    Tipo: System. . :: . .Boolean
    O valor será true para lançar no domínio não registrado; caso contrário, false.

Valor de retorno

Tipo: System. . :: . .String
O nome de domínio para o tipo específico.