Membros DataFile
The DataFile object represents a Microsoft SQL Server data file.
O tipo DataFile expõe os seguintes membros.
Construtores
Nome | Descrição | |
---|---|---|
![]() |
DataFile() () () () | Initializes a new instance of the DataFile class. |
![]() |
DataFile(FileGroup, String) | Initializes a new instance of the DataFile class on the specified file group with the specified name. |
![]() |
DataFile(FileGroup, String, String) | Initializes a new instance of the DataFile class on the specified file group with the specified name and file name. |
Início
Métodos
Nome | Descrição | |
---|---|---|
![]() |
AddDatabaseContext | (Herdado de SqlSmoObject.) |
![]() |
Alter | Updates any property changes to the object to the instance of Microsoft SQL Server. (Herdado de DatabaseFile.) |
![]() |
AlterImpl | (Herdado de SqlSmoObject.) |
![]() |
AlterImplFinish | (Herdado de SqlSmoObject.) |
![]() |
AlterImplInit | (Herdado de SqlSmoObject.) |
![]() |
AlterImplWorker | (Herdado de SqlSmoObject.) |
![]() |
BindDefaultImpl | (Herdado de SqlSmoObject.) |
![]() |
BindRuleImpl | (Herdado de SqlSmoObject.) |
![]() |
CheckCollation | (Herdado de SqlSmoObject.) |
![]() |
CheckObjectState() () () () | Validates the state of the referenced object. (Herdado de SqlSmoObject.) |
![]() |
CheckObjectState(Boolean) | Validates the state of the referenced object with the option to specify that an exception is thrown if the object is not yet created. (Herdado de SqlSmoObject.) |
![]() |
CheckObjectStateImpl | (Herdado de SqlSmoObject.) |
![]() |
CheckVersion100 | (Herdado de SqlSmoObject.) |
![]() |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (Herdado de SqlSmoObject.) |
![]() |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (Herdado de SqlSmoObject.) |
![]() |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (Herdado de SqlSmoObject.) |
![]() |
CheckVersionBelow90 | (Herdado de SqlSmoObject.) |
![]() |
CleanObject | (Herdado de SqlSmoObject.) |
![]() |
Create | Creates a data file on the instance of SQL Server as defined by the DataFile object. |
![]() |
CreateImpl | (Herdado de SqlSmoObject.) |
![]() |
CreateImplFinish | (Herdado de SqlSmoObject.) |
![]() |
CreateImplInit | (Herdado de SqlSmoObject.) |
![]() |
Discover | (Herdado de SqlSmoObject.) |
![]() |
Drop | Drops a database file. (Herdado de DatabaseFile.) |
![]() |
DropImpl | (Herdado de SqlSmoObject.) |
![]() |
DropImplWorker | (Herdado de SqlSmoObject.) |
![]() |
EnumScriptImpl | (Herdado de SqlSmoObject.) |
![]() |
EnumScriptImplWorker | (Herdado de SqlSmoObject.) |
![]() |
Equals | (Herdado de Object.) |
![]() |
Finalize | (Herdado de Object.) |
![]() |
FormatSqlVariant | (Herdado de SqlSmoObject.) |
![]() |
GenerateDataSpaceFileStreamScript | (Herdado de SqlSmoObject.) |
![]() |
GenerateDataSpaceScript | (Herdado de SqlSmoObject.) |
![]() |
GetBindDefaultScript | (Herdado de SqlSmoObject.) |
![]() |
GetBindRuleScript | (Herdado de SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Herdado de SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Herdado de SqlSmoObject.) |
![]() |
GetDateTimeParameter | (Herdado de SqlSmoObject.) |
![]() |
GetDateTimeParameterAsInt | (Herdado de SqlSmoObject.) |
![]() |
GetDBName | Gets the database name that is associated with the object. (Herdado de SqlSmoObject.) |
![]() |
GetEnumParameter | (Herdado de SqlSmoObject.) |
![]() |
GetFragOptionString | (Herdado de SqlSmoObject.) |
![]() |
GetGuidParameter | (Herdado de SqlSmoObject.) |
![]() |
GetHashCode | (Herdado de Object.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Herdado de SqlSmoObject.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Herdado de SqlSmoObject.) |
![]() |
GetPropValue | (Herdado de SqlSmoObject.) |
![]() |
GetPropValueOptional | (Herdado de SqlSmoObject.) |
![]() |
GetPropValueOptionalAllowNull | (Herdado de SqlSmoObject.) |
![]() |
GetRealValue | (Herdado de SqlSmoObject.) |
![]() |
GetScriptingOptionsForCreate | (Herdado de SqlSmoObject.) |
![]() |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (Herdado de SqlSmoObject.) |
![]() |
GetServerObject | (Herdado de SqlSmoObject.) |
![]() |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (Herdado de SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Herdado de SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Herdado de SqlSmoObject.) |
![]() |
GetTimeSpanParameterAsInt | (Herdado de SqlSmoObject.) |
![]() |
GetType | (Herdado de Object.) |
![]() |
GetUrnRecursive(StringBuilder) | (Herdado de SqlSmoObject.) |
![]() |
GetUrnRecursive(StringBuilder, UrnIdOption) | (Herdado de SqlSmoObject.) |
![]() |
ImplInitialize | (Herdado de SqlSmoObject.) |
![]() |
Initialize() () () () | Initializes the object and forces the properties be loaded. (Herdado de SqlSmoObject.) |
![]() |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (Herdado de SqlSmoObject.) |
![]() |
IsObjectDirty | Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server. (Herdado de SqlSmoObject.) |
![]() |
IsObjectInitialized | Verifies whether the object has been initialized. (Herdado de SqlSmoObject.) |
![]() |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (Herdado de SqlSmoObject.) |
![]() |
IsVersion80SP3 | (Herdado de SqlSmoObject.) |
![]() |
MarkDropped | (Herdado de SqlSmoObject.) |
![]() |
MarkForDrop | Marks the database file to be dropped next time its parent object is altered by the Alter method. (Herdado de DatabaseFile.) |
![]() |
MarkForDropImpl | (Herdado de SqlSmoObject.) |
![]() |
MemberwiseClone | (Herdado de Object.) |
![]() |
PostAlter | (Herdado de SqlSmoObject.) |
![]() |
PostCreate | (Herdado de SqlSmoObject.) |
![]() |
PostDrop | (Herdado de SqlSmoObject.) |
![]() |
Refresh | Refreshes the object and retrieves properties when the object is next accessed. (Herdado de SqlSmoObject.) |
![]() |
Rename | Renames a database file. (Herdado de DatabaseFile.) |
![]() |
RenameImpl | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Herdado de NamedSmoObject.) |
![]() |
RenameImplWorker | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Herdado de NamedSmoObject.) |
![]() |
ScriptAlter | (Herdado de DatabaseFile.) |
![]() |
ScriptChangeOwner | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Herdado de NamedSmoObject.) |
![]() |
ScriptCreate | (Herdado de SqlSmoObject.) |
![]() |
ScriptDdl | (Herdado de SqlSmoObject.) |
![]() |
ScriptDrop | (Herdado de DatabaseFile.) |
![]() |
ScriptImpl() () () () | (Herdado de SqlSmoObject.) |
![]() |
ScriptImpl(ScriptingOptions) | (Herdado de SqlSmoObject.) |
![]() |
ScriptImplWorker | (Herdado de SqlSmoObject.) |
![]() |
ScriptRename | (Herdado de DatabaseFile.) |
![]() |
SetOffline | Sets the database file status to offline. |
![]() |
SetParentImpl | (Herdado de SqlSmoObject.) |
![]() |
Shrink | Shrinks a database file. (Herdado de DatabaseFile.) |
![]() |
ToString | Returns a String that represents the referenced object. (Herdado de SqlSmoObject.) |
![]() |
TouchImpl | (Herdado de SqlSmoObject.) |
![]() |
UnbindDefaultImpl | (Herdado de SqlSmoObject.) |
![]() |
UnbindRuleImpl | (Herdado de SqlSmoObject.) |
![]() |
Validate | (Herdado de SmoObjectBase.) |
Início
Propriedades
Nome | Descrição | |
---|---|---|
![]() |
AvailableSpace | Gets the amount of available space in the data file in KB. |
![]() |
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Herdado de SqlSmoObject.) |
![]() |
FileName | Gets or sets the data file name. |
![]() |
Growth | Gets or sets the growth increment for the data file in KB or percent. |
![]() |
GrowthType | Gets or sets the growth type for the data file in kilobytes or percent. |
![]() |
ID | Gets the ID value that uniquely identifies the data file. |
![]() |
IsOffline | Gets the Boolean property value that specifies whether the data file is offline or not. |
![]() |
IsPrimaryFile | Gets the Boolean property value that specifies whether the data file is the primary file of the database. |
![]() |
IsReadOnly | Gets the Boolean property value that specifies whether the data file is read-only or can be updated. |
![]() |
IsReadOnlyMedia | Gets the Boolean property value that specifies whether the data file is stored on read-only media. |
![]() |
IsSparse | Gets the Boolean value that specifies whether the file is a sparse file. Sparse files are used in database snapshots. |
![]() |
IsTouched | Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Herdado de SqlSmoObject.) |
![]() |
MaxSize | Gets or set the maximum size to which the data file can grow in KB. |
![]() |
Name | Gets or sets the name of the object. (Herdado de NamedSmoObject.) |
![]() |
ObjectInSpace | Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (Herdado de SqlSmoObject.) |
![]() |
Parent | Gets or sets the FileGroup object that is the parent of the DataFile object. |
![]() |
Properties | Gets a collection of Property objects that represent the object properties. (Herdado de SqlSmoObject.) |
![]() |
ScalarResult | Gets the scalar result for the referenced object. (Herdado de SqlSmoObject.) |
![]() |
Size | Gets or sets the current size of the data file in KB. |
![]() |
State | Gets the state of the referenced object. (Herdado de SmoObjectBase.) |
![]() |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Herdado de SqlSmoObject.) |
![]() |
UsedSpace | Gets the amount of used space in the data file in KB. |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (Herdado de SmoObjectBase.) |
Início
Eventos
Nome | Descrição | |
---|---|---|
![]() |
PropertyChanged | (Herdado de SqlSmoObject.) |
![]() |
PropertyMetadataChanged | (Herdado de SqlSmoObject.) |
Início
Implementações de interface explícitas
Nome | Descrição | |
---|---|---|
![]() ![]() |
IAlienObjectDiscover | (Herdado de SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetParent | (Herdado de SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetProperty | (Herdado de SqlSmoObject.) |
![]() ![]() |
ISfcPropertyProviderGetPropertySet | (Herdado de SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetUrn | (Herdado de SqlSmoObject.) |
![]() ![]() |
IAlienObjectResolve | (Herdado de SqlSmoObject.) |
![]() ![]() |
IAlienObjectSetProperty | (Herdado de SqlSmoObject.) |
Início