Méthode SfcRegistration.GetRegisteredDomainForType (String, Boolean)
Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
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
- fullTypeName
Type : System.String
The complete name for the Type.
- throwOnUnregisteredDomain
Type : System.Boolean
true to throw on the unregistered domain; otherwise, false.
Valeur de retour
Type : System.String
The domain name for the specific type.