Database.DatabaseOwnershipChaining Property

Gets or sets a property value that specifies whether the database ownership chaining is active.

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

[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)]
public bool DatabaseOwnershipChaining { get; set; }

Property Value

Type: System.Boolean
A Boolean value that specifies whether the database DatabaseOwnershipChaining is active. If True, database ownership chaining is active. If False (default), database ownership chaining is not active.

Implements

IDatabaseOptions.DatabaseOwnershipChaining

Community Additions

ADD
Show: