Aracılığıyla paylaş


DatabaseRole.DateLastModified Property

Gets the date and time when the database role was last modified.

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

Syntax

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property DateLastModified As DateTime
    Get
'Kullanım
Dim instance As DatabaseRole
Dim value As DateTime

value = instance.DateLastModified
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public DateTime DateLastModified { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property DateTime DateLastModified {
    DateTime get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member DateLastModified : DateTime
function get DateLastModified () : DateTime

Property Value

Type: System.DateTime
A DateTime system value that specifies the date and time when the database role was last modified.

Examples

Managing Users, Roles, and Logins

See Also

Reference

DatabaseRole Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Database-Level Roles

CREATE ROLE (Transact-SQL)