UserOptions.NoCount Property

 

Gets or sets the Boolean property value that specifies whether queries return the number of rows affected.

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Deploy, 
	"false")]
public bool NoCount { get; set; }

Property Value

Type: System.Boolean

A Boolean value that specifies the whether queries return the number of rows affected.

If True, the number of rows affected by the query is not returned.

If False (default), the number of rows affected by the query is returned.

Return to top
Show: