Compartilhar via


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

Return Value

Type: System.Boolean
true if the Network Service account is used; otherwise, false.

See Also

Reference

SPBackupRestoreConsole Class

SPBackupRestoreConsole Members

Microsoft.SharePoint.Administration.Backup Namespace