SPServer.GrantVssAccess method
Grants the account access to run a VSS writer by adding it to VssAccessControl registry key.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub GrantVssAccess ( _
account As String _
)
'Usage
Dim account As StringSPServer.GrantVssAccess(account)
public static void GrantVssAccess(
string account
)
Parameters
account
Type: System.StringThe account name.
Remarks
If the VssAccessControl registry key does not exist, this operation will also create a VssAccessControl key.