Udostępnij za pośrednictwem


Metoda DatabaseAdapterBase.GetVolume

Zwraca nazwę woluminu w zmiennej PATH.

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

Składnia

'Deklaracja
Public Function GetVolume ( _
    file As String _
) As String
'Użycie
Dim instance As DatabaseAdapterBase
Dim file As String
Dim returnValue As String

returnValue = instance.GetVolume(file)
public string GetVolume(
    string file
)
public:
String^ GetVolume(
    String^ file
)
member GetVolume : 
        file:string -> string 
public function GetVolume(
    file : String
) : String

Parametry

Wartość zwracana

Typ: System.String
String