共用方式為


GetVolume 方法

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function GetVolume ( _
    file As String _
) As String
'用途
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

參數

傳回值

型別:System. . :: . .String
String