UserDefinedDataType.Default Property


Gets or sets a SQL Server default that is bound to the user-defined data type.

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[] { ... })]
public string Default { get; set; }

Property Value

Type: System.String

A String value that specifies the bound default.

Return to top