Column.Default Property

 

Gets or sets the default bound to the column.

This API is not CLS-compliant.

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.ReadOnlyAfterCreation | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase)]
[SfcReferenceAttribute(typeof(Default), "Server[@Name = '{0}']/Database[@Name = '{1}']/Default[@Name='{2}' and @Schema='{3}']", 
	new string[] { ... })]
[CLSCompliantAttribute(false)]
public string Default { get; set; }

Property Value

Type: System.String

A Default object that specifies the default bound to the column.

The Default property specifies a default. This can be bound to the column by using the BindToColumn method.

Return to top
Show: