مشاركة عبر


UserCollection.Parent Property

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

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

Syntax

'Declaration
Public ReadOnly Property Parent As Database 
    Get
'Usage
Dim instance As UserCollection 
Dim value As Database 

value = instance.Parent
public Database Parent { get; }
public:
property Database^ Parent {
    Database^ get ();
}
member Parent : Database
function get Parent () : Database

Property Value

Type: Microsoft.SqlServer.Management.Smo.Database
A Database object that is the parent of the User object.

Examples

Using Collections

See Also

Reference

UserCollection Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using Collections