SetOffice2003SecurityPolicy.GetDriveType Method
This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly: Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
Syntax
'Declaration
Public Shared Function GetDriveType ( _
nDrive As String _
) As Integer
'Usage
Dim nDrive As String
Dim returnValue As Integer
returnValue = SetOffice2003SecurityPolicy.GetDriveType(nDrive)
public static int GetDriveType(
string nDrive
)
Parameters
- nDrive
Type: System.String
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SetOffice2003SecurityPolicy Class