Delen via


DatabaseAdapterBase.GetVolume Method

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function GetVolume ( _
    file As String _
) As String
'Usage
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

Parameters

Return Value

Type: System.String
String