Aracılığıyla paylaş


FileGroup.Rename Method

Renames the file group.

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

Syntax

'Bildirim
Public Sub Rename ( _
    newname As String _
)
'Kullanım
Dim instance As FileGroup
Dim newname As String

instance.Rename(newname)
public void Rename(
    string newname
)
public:
virtual void Rename(
    String^ newname
) sealed
abstract Rename : 
        newname:string -> unit 
override Rename : 
        newname:string -> unit 
public final function Rename(
    newname : String
)

Parameters

Implements

IRenamable.Rename(String)

Examples

Working with Database Objects

See Also

Reference

FileGroup Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using Files and Filegroups

ALTER TABLE (Transact-SQL)