Metoda SfcInstance.GetDomain
Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.
Przestrzeń nazw: Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw: Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Składnia
'Deklaracja
Public Function GetDomain As ISfcDomain
'Użycie
Dim instance As SfcInstance
Dim returnValue As ISfcDomain
returnValue = instance.GetDomain()
public ISfcDomain GetDomain()
public:
ISfcDomain^ GetDomain()
member GetDomain : unit -> ISfcDomain
public function GetDomain() : ISfcDomain
Wartość zwracana
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain
Właściwość domena bieżącej.