Share via


Méthode GetVolume

Returns the volume name as it appears in the PATH variable.

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

Syntaxe

'Déclaration
Public Function GetVolume ( _
    file As String _
) As String
'Utilisation
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

Paramètres

Valeur de retour

Type : System. . :: . .String
String