다음을 통해 공유


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