Share via


RegSvrSmoObject.Name Property

Gets or sets the name of the object.

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

Syntax

'Declaration
Public Property Name As String 
    Get 
    Set
'Usage
Dim instance As RegSvrSmoObject 
Dim value As String 

value = instance.Name

instance.Name = value
public string Name { get; set; }
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
member Name : string with get, set
function get Name () : String 
function set Name (value : String)

Property Value

Type: System.String
A String value that specifies the name for the object.

See Also

Reference

RegSvrSmoObject Class

Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace