Share via


IDatabaseProjectPropertiesContainer.SetProperties Method

Sets the properties in a batch mode.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Function SetProperties ( _
    forceSynchronizeProjectSystem As Boolean, _
    ParamArray items As CatalogOrServerPropertyItem() _
) As Boolean
bool SetProperties(
    bool forceSynchronizeProjectSystem,
    params CatalogOrServerPropertyItem[] items
)
bool SetProperties(
    bool forceSynchronizeProjectSystem, 
    ... array<CatalogOrServerPropertyItem^>^ items
)
abstract SetProperties : 
        forceSynchronizeProjectSystem:bool * 
        items:CatalogOrServerPropertyItem[] -> bool 
function SetProperties(
    forceSynchronizeProjectSystem : boolean, 
    ... items : CatalogOrServerPropertyItem[]
) : boolean

Parameters

  • forceSynchronizeProjectSystem
    Type: System.Boolean
    Forces the project system to synchronize the model to the catalog and server property changes.

Return Value

Type: System.Boolean
true if the properties were set successfully.

Remarks

This will change all properties (or delete them, if the value is null) and raise one event for the set of changes.

.NET Framework Security

See Also

Reference

IDatabaseProjectPropertiesContainer Interface

Microsoft.VisualStudio.Data.Schema.Package.Project Namespace