SPBackupRestoreConsole.UsingNetworkServices Method
Gets a value that indicates whether the backup or restore operation uses the Network Service account.
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function UsingNetworkServices ( _
id As Guid _
) As Boolean
'Usage
Dim id As Guid
Dim returnValue As Boolean
returnValue = SPBackupRestoreConsole.UsingNetworkServices(id)
public static bool UsingNetworkServices(
Guid id
)
Parameters
id
Type: System.GuidThe Guid ID of the SPBackupRestoreConsoleObject that represents the backup or restore operation.
Return Value
Type: System.Boolean
true if the Network Service account is used; otherwise, false.