Export (0) Print
Expand All
Expand Minimize

Database.Name Property

Gets or sets the name of the database.

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

'Declaration
<SfcKeyAttribute()> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Matrix)> _
Public Overrides Property Name As String 
	Get 
	Set
'Usage
Dim instance As Database 
Dim value As String 

value = instance.Name

instance.Name = value

Property Value

Type: String
A string value that contains the name of the database.

Implements

IDatabaseOptions.Name
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft