Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Restore.Partial Property

Gets or sets a Boolean property value that specifies whether a partial or full restore operation will be performed.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

public bool Partial { get; set; }

Property Value

Type: System.Boolean
A Boolean value that indicates whether this is a full or partial restore operation.If True, the restore operation is a partial restore. Otherwise, False (default).

The following code example sets the restore instance to perform a partial operation.

VB

Dim rs As Restore
rs = New Restore
rs.Partial = true

PowerShell

$rs = new-object Microsoft.SqlServer.Management.Smo.Restore
$rs.Partial = $TRUE

Community Additions

ADD
Show:
© 2015 Microsoft