Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Column Methods

The Column type exposes the following members.

  Name Description
Public method AddDefaultConstraint() Adds a default constraint to the column.
Public method AddDefaultConstraint(String) Adds a default constraint to the column.
Public method Alter Updates any Column object property changes on the instance of SQL Server.
Public method BindDefault Binds a default to the column.
Public method BindRule Binds a rule to the column.
Public method Create Creates a column on the instance of Microsoft SQL Server as defined by the Column object.
Public method Discover Discovers a list of type Object. (Inherited from SqlSmoObject.)
Public method Drop Drops the column.
Public method EnumForeignKeys Enumerates a list of foreign keys that reference the column.
Public method EnumIndexes Enumerates a list of indexes that include the column.
Public method EnumUserPermissions Enumerates a list of permissions for a specified user.
Public method Equals (Inherited from Object.)
Protected method FormatSqlVariant Formats an object as SqlVariant type. (Inherited from SqlSmoObject.)
Protected method GetContextDB Gets the context database that is associated with this object. (Inherited from SqlSmoObject.)
Protected method GetDBName Gets the database name that is associated with the object. (Inherited from SqlSmoObject.)
Public method GetHashCode (Inherited from Object.)
Protected method GetPropValue Gets a property value of the SqlSmoObject object. (Inherited from SqlSmoObject.)
Protected method GetPropValueOptional Gets a property value of the SqlSmoObject object. (Inherited from SqlSmoObject.)
Protected method GetPropValueOptionalAllowNull Gets a property value of the SqlSmoObject object. (Inherited from SqlSmoObject.)
Protected method GetServerObject Gets the server of the SqlSmoObject object. (Inherited from SqlSmoObject.)
Public method GetType (Inherited from Object.)
Public method Initialize() Initializes the object and forces the properties be loaded. (Inherited from SqlSmoObject.)
Public method Initialize(Boolean) Initializes the object and forces the properties be loaded. (Inherited from SqlSmoObject.)
Protected method IsObjectInitialized Verifies whether the object has been initialized. (Inherited from SqlSmoObject.)
Protected method IsObjectInSpace Verifies whether the object is isolated or connected to the instance of SQL Server. (Inherited from SqlSmoObject.)
Public method MarkForDrop Marks the column to be dropped when the Alter method is run on the column's parent Table object.
Public method Refresh Refreshes the Column object properties. (Overrides ScriptNameObjectBase.Refresh().)
Public method Rename Renames the column.
Protected method SetParentImpl Sets the parent of the SqlSmoObject to the newParent parameter. (Inherited from SqlSmoObject.)
Public method ToString Returns a String that represents the referenced object. (Inherited from SqlSmoObject.)
Public method UnbindDefault Unbinds the currently bound default from the column.
Public method UnbindRule Unbinds the currently bound rule from the column.
Public method UpdateStatistics() Updates Statistic objects that monitor this column.
Public method UpdateStatistics(StatisticsScanType) Updates Statistic objects that monitor this column.
Public method UpdateStatistics(StatisticsScanType, Int32) Updates Statistic objects that monitor this column using a sampled scan.
Public method UpdateStatistics(StatisticsScanType, Int32, Boolean) Updates Statistic objects that monitor this column using a sampled scan.
Public method Validate Validates the state of an object. (Inherited from SmoObjectBase.)
Top
  Name Description
Explicit interface implemetation Private method IAlienObject.Discover Discovers any dependencies. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SqlSmoObject.)
Explicit interface implemetation Private method IAlienObject.GetDomainRoot Returns the root of the domain. (Inherited from SqlSmoObject.)
Explicit interface implemetation Private method IAlienObject.GetParent Gets the parent of this object. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SqlSmoObject.)
Explicit interface implemetation Private method IAlienObject.GetPropertyType Gets the type of the specified property. (Inherited from SqlSmoObject.)
Explicit interface implemetation Private method IAlienObject.GetPropertyValue Gets the value of the specified property. (Inherited from SqlSmoObject.)
Explicit interface implemetation Private method IAlienObject.GetUrn Gets the Unified Resource Name (URN) of the object. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SqlSmoObject.)
Explicit interface implemetation Private method IAlienObject.Resolve Gets the instance that contains the information about the object from the Unified Resource Name (URN) of the object. (Inherited from SqlSmoObject.)
Explicit interface implemetation Private method IAlienObject.SetObjectState Sets the object state to the specified SfcObjectState value. (Inherited from SqlSmoObject.)
Explicit interface implemetation Private method IAlienObject.SetPropertyValue Sets the property value. (Inherited from SqlSmoObject.)
Explicit interface implemetation Private method ISfcPropertyProvider.GetPropertySet Gets the interface reference to the set of properties of this object. (Inherited from SqlSmoObject.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.