Partager via


Méthode GetRegisteredDomainForType (String, Boolean)

Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Shared Function GetRegisteredDomainForType ( _
    fullTypeName As String, _
    throwOnUnregisteredDomain As Boolean _
) As String
'Utilisation
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

Paramètres

  • throwOnUnregisteredDomain
    Type : System. . :: . .Boolean
    true pour lever une exception sur le domaine non inscrit ; sinon, false.

Valeur de retour

Type : System. . :: . .String
Nom de domaine pour le type spécifique.