View.Parent View.Parent View.Parent Property

Definition

Gets the Database object that is the parent of the View object.

public:
 property Microsoft::SqlServer::Management::Smo::Database ^ Parent { Microsoft::SqlServer::Management::Smo::Database ^ get(); void set(Microsoft::SqlServer::Management::Smo::Database ^ value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObject(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObjectRelationship.ParentObject, Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObjectFlags.Design)]
public Microsoft.SqlServer.Management.Smo.Database Parent { get; set; }
Public Property Parent As Database
Property Value

A Database object value that specifies the parent of the View object.

Examples

Creating, Altering, and Removing Views

Applies to