Column Miembros
The Column object represents a SQL Server column.
El tipo Column expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
Column() () () () | Initializes a new instance of the Column class. | |
Column(SqlSmoObject, String) | Initializes a new instance of the Column class that has the specified parent and specified name. | |
Column(SqlSmoObject, String, DataType) | Initializes a new instance of the Column class that has the specified parent and specified name. | |
Column(SqlSmoObject, String, DataType, Boolean) | Initializes a new instance of the Column class that uses the specified parent, datayype, and optionally adding the FILESTREAM attribute. |
Principio
Métodos
Nombre | Descripción | |
---|---|---|
AddDatabaseContext | (Se hereda de SqlSmoObject). | |
AddDefaultConstraint() () () () | Adds a default constraint to the column. | |
AddDefaultConstraint(String) | Adds a default constraint to the column. | |
Alter | Updates any Column object property changes on the instance of SQL Server. | |
AlterImpl | (Se hereda de SqlSmoObject). | |
AlterImplFinish | (Se hereda de SqlSmoObject). | |
AlterImplInit | (Se hereda de SqlSmoObject). | |
AlterImplWorker | (Se hereda de SqlSmoObject). | |
AppendCommaText | (Se hereda de ScriptNameObjectBase). | |
AppendWithCommaText | (Se hereda de ScriptNameObjectBase). | |
AppendWithOption | (Se hereda de ScriptNameObjectBase). | |
BindDefault | Binds a default to the column. | |
BindDefaultImpl | (Se hereda de SqlSmoObject). | |
BindRule | Binds a rule to the column. | |
BindRuleImpl | (Se hereda de SqlSmoObject). | |
CheckCollation | (Se hereda de SqlSmoObject). | |
CheckObjectDirty | (Se hereda de ScriptNameObjectBase). | |
CheckObjectState() () () () | Validates the state of the referenced object. (Se hereda 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. (Se hereda de SqlSmoObject). | |
CheckObjectStateImpl | (Se hereda de SqlSmoObject). | |
CheckTextCorectness | (Se hereda de ScriptNameObjectBase). | |
CheckTextModeSupport | (Se hereda de ScriptNameObjectBase). | |
CheckVersion100 | (Se hereda de SqlSmoObject). | |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (Se hereda de SqlSmoObject). | |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (Se hereda de SqlSmoObject). | |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (Se hereda de SqlSmoObject). | |
CheckVersionBelow90 | (Se hereda de SqlSmoObject). | |
CleanObject | Cleans the referenced object. (Se hereda de ScriptNameObjectBase). | |
Create | Creates a column on the instance of Microsoft SQL Server as defined by the Column object. | |
CreateImpl | (Se hereda de SqlSmoObject). | |
CreateImplFinish | (Se hereda de SqlSmoObject). | |
CreateImplInit | (Se hereda de SqlSmoObject). | |
Discover | (Se hereda de SqlSmoObject). | |
Drop | Drops the column. | |
DropImpl | (Se hereda de SqlSmoObject). | |
DropImplWorker | (Se hereda de SqlSmoObject). | |
EnumForeignKeys | Enumerates a list of foreign keys that reference the column. | |
EnumIndexes | Enumerates a list of indexes that include the column. | |
EnumScriptImpl | (Se hereda de SqlSmoObject). | |
EnumScriptImplWorker | (Se hereda de SqlSmoObject). | |
EnumUserPermissions | Enumerates a list of permissions for a specified user. | |
Equals | (Se hereda de Object). | |
Finalize | (Se hereda de Object). | |
ForceTextModeOnTextBody | Enforces text mode on the text body. (Se hereda de ScriptNameObjectBase). | |
FormatSqlVariant | (Se hereda de SqlSmoObject). | |
GenerateDataSpaceFileStreamScript | (Se hereda de SqlSmoObject). | |
GenerateDataSpaceScript | (Se hereda de SqlSmoObject). | |
GetBindDefaultScript | (Se hereda de SqlSmoObject). | |
GetBindRuleScript | (Se hereda de SqlSmoObject). | |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Se hereda de SqlSmoObject). | |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Se hereda de SqlSmoObject). | |
GetBraketNameForText | (Se hereda de ScriptNameObjectBase). | |
GetDateTimeParameter | (Se hereda de SqlSmoObject). | |
GetDateTimeParameterAsInt | (Se hereda de SqlSmoObject). | |
GetDBName | Gets the database name that is associated with the object. (Se hereda de SqlSmoObject). | |
GetEnumParameter | (Se hereda de SqlSmoObject). | |
GetFragOptionString | (Se hereda de SqlSmoObject). | |
GetGuidParameter | (Se hereda de SqlSmoObject). | |
GetHashCode | (Se hereda de Object). | |
GetIsTextDirty | Determines whether the text value is consistent with stored value. (Se hereda de ScriptNameObjectBase). | |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Se hereda de SqlSmoObject). | |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Se hereda de SqlSmoObject). | |
GetPropValue | (Se hereda de SqlSmoObject). | |
GetPropValueOptional | (Se hereda de SqlSmoObject). | |
GetPropValueOptionalAllowNull | (Se hereda de SqlSmoObject). | |
GetRealValue | (Se hereda de SqlSmoObject). | |
GetScriptIncludeExists | (Se hereda de ScriptNameObjectBase). | |
GetScriptingOptionsForCreate | (Se hereda de SqlSmoObject). | |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (Se hereda de SqlSmoObject). | |
GetServerObject | (Se hereda de SqlSmoObject). | |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (Se hereda de SqlSmoObject). | |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Se hereda de SqlSmoObject). | |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Se hereda de SqlSmoObject). | |
GetTextBody() () () () | Returns the text body. (Se hereda de ScriptNameObjectBase). | |
GetTextBody(Boolean) | Returns the text body. (Se hereda de ScriptNameObjectBase). | |
GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] []) | Gets the text for scripting. (Se hereda de ScriptNameObjectBase). | |
GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] [], Boolean) | (Se hereda de ScriptNameObjectBase). | |
GetTextHeader | Returns the text header. (Se hereda de ScriptNameObjectBase). | |
GetTextMode | Determines whether the script name is using text mode. (Se hereda de ScriptNameObjectBase). | |
GetTextProperty(String) | (Se hereda de ScriptNameObjectBase). | |
GetTextProperty(String, ScriptingOptions) | (Se hereda de ScriptNameObjectBase). | |
GetTimeSpanParameterAsInt | (Se hereda de SqlSmoObject). | |
GetType | (Se hereda de Object). | |
GetUrnRecursive(StringBuilder) | (Se hereda de SqlSmoObject). | |
GetUrnRecursive(StringBuilder, UrnIdOption) | (Se hereda de SqlSmoObject). | |
ImplInitialize | (Se hereda de SqlSmoObject). | |
Initialize() () () () | Initializes the object and forces the properties be loaded. (Se hereda de SqlSmoObject). | |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (Se hereda de SqlSmoObject). | |
IsObjectDirty | Determines whether the referenced object is consistent with the stored object. (Se hereda de ScriptNameObjectBase). | |
IsObjectInitialized | Verifies whether the object has been initialized. (Se hereda de SqlSmoObject). | |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (Se hereda de SqlSmoObject). | |
IsVersion80SP3 | (Se hereda de SqlSmoObject). | |
MarkDropped | (Se hereda de SqlSmoObject). | |
MarkForDrop | Marks the column to be dropped when the Alter method is run on the column's parent Table object. | |
MarkForDropImpl | (Se hereda de SqlSmoObject). | |
MemberwiseClone | (Se hereda de Object). | |
PostAlter | (Se hereda de SqlSmoObject). | |
PostCreate | (Se hereda de SqlSmoObject). | |
PostDrop | (Se hereda de SqlSmoObject). | |
Refresh | Refreshes the Column object properties. (Invalida ScriptNameObjectBase. . :: . .Refresh() () () ().) | |
Rename | Renames the column. | |
RenameImpl | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Se hereda de NamedSmoObject). | |
RenameImplWorker | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Se hereda de NamedSmoObject). | |
ScriptAlter | (Se hereda de SqlSmoObject). | |
ScriptAnsiQI | (Se hereda de ScriptNameObjectBase). | |
ScriptChangeOwner | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Se hereda de NamedSmoObject). | |
ScriptCreate | (Se hereda de SqlSmoObject). | |
ScriptDdl | (Se hereda de SqlSmoObject). | |
ScriptDrop | (Se hereda de SqlSmoObject). | |
ScriptImpl() () () () | (Se hereda de SqlSmoObject). | |
ScriptImpl(ScriptingOptions) | (Se hereda de SqlSmoObject). | |
ScriptImplWorker | (Se hereda de SqlSmoObject). | |
ScriptInformativeHeaders | (Se hereda de ScriptNameObjectBase). | |
ScriptRename | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Se hereda de NamedSmoObject). | |
SetCollectionTextMode | Sets the collection text mode. (Se hereda de ScriptNameObjectBase). | |
SetParentImpl | (Se hereda de SqlSmoObject). | |
SetTextBody | Specifies the text body. (Se hereda de ScriptNameObjectBase). | |
SetTextHeader | Specifies the text header. (Se hereda de ScriptNameObjectBase). | |
SetTextMode | Specifies the text mode. (Se hereda de ScriptNameObjectBase). | |
SwitchTextMode | Switches the text mode. (Se hereda de ScriptNameObjectBase). | |
ThrowIfTextIsDirtyForAlter | (Se hereda de ScriptNameObjectBase). | |
ToString | Returns a String that represents the referenced object. (Se hereda de SqlSmoObject). | |
TouchImpl | (Se hereda de SqlSmoObject). | |
UnbindDefault | Unbinds the currently bound default from the column. | |
UnbindDefaultImpl | (Se hereda de SqlSmoObject). | |
UnbindRule | Unbinds the currently bound rule from the column. | |
UnbindRuleImpl | (Se hereda de SqlSmoObject). | |
UpdateStatistics() () () () | Updates Statistic objects that monitor this column. | |
UpdateStatistics(StatisticsScanType) | Updates Statistic objects that monitor this column. | |
UpdateStatistics(StatisticsScanType, Int32) | Updates Statistic objects that monitor this column using a sampled scan. | |
UpdateStatistics(StatisticsScanType, Int32, Boolean) | Updates Statistic objects that monitor this column using a sampled scan. | |
Validate | (Se hereda de SmoObjectBase). |
Principio
Propiedades
Nombre | Descripción | |
---|---|---|
AnsiPaddingStatus | Gets or sets a Boolean property value that specifies whether the ANSI_PADDING_ENABLED column option is active. | |
Collation | Gets or sets the default collation that is used by the column. | |
Computed | Gets the Boolean property value that specifies whether the column is the product of computed expression | |
ComputedText | Gets or sets the Transact-SQL expression that is used to generate the value of a computed column | |
DataType | Gets or sets the data type that is assigned to the column. | |
Default | Gets the default bound to the column. | |
DefaultConstraint | Gets or sets a default value for the column. | |
DefaultSchema | Gets or sets the default schema that is bound to the column. | |
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Se hereda de SqlSmoObject). | |
ExtendedProperties | Represents a collection of ExtendedProperty objects. Each ExtendedProperty object represents an extended property for the Column object. | |
ID | Gets the column ID that uniquely identifies the column. | |
Identity | Gets or sets the Boolean property value that specifies whether the column is an identity column. | |
IdentityIncrement | Gets or sets the identity increment for an identity column. | |
IdentitySeed | Gets or sets the identity seed for an identity column. | |
InPrimaryKey | Gets the Boolean property value that specifies whether the column is included in the definition of a primary key or unique key constraint. | |
IsColumnSet | Gets or sets the Boolean property value that specifies whether the column has been set. | |
IsDeterministic | Gets or sets the Boolean property value that specifies whether the value of a computed column can change in subsequent invocations. | |
IsFileStream | Gets a boolean value that represents the FILESTREAM attribute of the column. | |
IsForeignKey | Gets the Boolean property value that specifies whether the column is a foreign key. | |
IsFullTextIndexed | Gets the Boolean property value that specifies whether the column participates in a full-text index. | |
IsPersisted | Gets the Boolean property value that specifies whether the computed value of the Column object is saved with the data, thus avoiding a computation each time the column is accessed. | |
IsPrecise | Gets or sets the Boolean property value that specifies whether a computed column is a precise value. | |
IsSparse | Gets or sets the Boolean property value that specifies whether the column value is sparse. | |
IsTouched | Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Se hereda de SqlSmoObject). | |
Name | Gets or sets the name of the object. (Se hereda de NamedSmoObject). | |
NotForReplication | Gets the Boolean property value that specifies whether the column is participating in replication. | |
Nullable | Gets or sets the Boolean property value that specifies whether the column can accept null values. | |
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. (Se hereda de SqlSmoObject). | |
Parent | Gets the SqlSmoObject object that is the parent of the Column object. | |
Properties | Gets a collection of Property objects that represent the object properties. (Se hereda de SqlSmoObject). | |
RowGuidCol | Gets or sets the Boolean property value that specifies whether the column is automatically updated with a unique GUID value. | |
Rule | Gets or sets the rule that is bound to the column. | |
RuleSchema | Gets or sets the rule schema that is bound to the column. | |
ScalarResult | Gets the scalar result for the referenced object. (Se hereda de SqlSmoObject). | |
State | Gets the state of the referenced object. (Se hereda de SmoObjectBase). | |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Se hereda de SqlSmoObject). | |
UserData | Gets or sets user-defined data associated with the referenced object. (Se hereda de SmoObjectBase). |
Principio
Eventos
Nombre | Descripción | |
---|---|---|
PropertyChanged | (Se hereda de SqlSmoObject). | |
PropertyMetadataChanged | (Se hereda de SqlSmoObject). |
Principio
Implementaciones de interfaces explícitas
Nombre | Descripción | |
---|---|---|
IAlienObjectDiscover | (Se hereda de SqlSmoObject). | |
IAlienObjectGetParent | (Se hereda de SqlSmoObject). | |
IAlienObjectGetProperty | (Se hereda de SqlSmoObject). | |
ISfcPropertyProviderGetPropertySet | (Se hereda de SqlSmoObject). | |
IAlienObjectGetUrn | (Se hereda de SqlSmoObject). | |
IAlienObjectResolve | (Se hereda de SqlSmoObject). | |
IAlienObjectSetProperty | (Se hereda de SqlSmoObject). |
Principio