SPMetabaseManager.ProvisionIisVirtualDirectory Method
NOTE: This API is now obsolete.
Obsolete. Use the Application class instead.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Obsoleted by the Microsoft.Web.Administration.Application class.")> _
Public Shared Sub ProvisionIisVirtualDirectory ( _
serverComment As String, _
virtualPath As String, _
name As String, _
path As String, _
accessFlags As Integer, _
applicationName As String, _
applicationPoolId As String, _
scriptMaps As String() _
)
'Usage
Dim serverComment As String
Dim virtualPath As String
Dim name As String
Dim path As String
Dim accessFlags As Integer
Dim applicationName As String
Dim applicationPoolId As String
Dim scriptMaps As String()
SPMetabaseManager.ProvisionIisVirtualDirectory(serverComment, _
virtualPath, name, path, accessFlags, _
applicationName, applicationPoolId, _
scriptMaps)
[ObsoleteAttribute("Obsoleted by the Microsoft.Web.Administration.Application class.")]
public static void ProvisionIisVirtualDirectory(
string serverComment,
string virtualPath,
string name,
string path,
int accessFlags,
string applicationName,
string applicationPoolId,
string[] scriptMaps
)
Parameters
- serverComment
Type: System.String
- virtualPath
Type: System.String
- name
Type: System.String
- path
Type: System.String
- accessFlags
Type: System.Int32
- applicationName
Type: System.String
- applicationPoolId
Type: System.String
- scriptMaps
Type: []