IDatabasePropertiesContainer.SetProperties Method
Sets the properties in a batch mode.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Function SetProperties ( _
forceSynchronizeProjectSystem As Boolean, _
ParamArray items As CatalogOrServerPropertyItem() _
) As Boolean
'Usage
Dim instance As IDatabasePropertiesContainer
Dim forceSynchronizeProjectSystem As Boolean
Dim items As CatalogOrServerPropertyItem()
Dim returnValue As Boolean
returnValue = instance.SetProperties(forceSynchronizeProjectSystem, _
items)
bool SetProperties(
bool forceSynchronizeProjectSystem,
params CatalogOrServerPropertyItem[] items
)
bool SetProperties(
bool forceSynchronizeProjectSystem,
... array<CatalogOrServerPropertyItem^>^ items
)
function SetProperties(
forceSynchronizeProjectSystem : boolean,
... items : CatalogOrServerPropertyItem[]
) : boolean
abstract SetProperties :
forceSynchronizeProjectSystem:bool *
items:CatalogOrServerPropertyItem[] -> bool
Parameters
- forceSynchronizeProjectSystem
Type: System.Boolean
Forces the project system to synchronize the model to the catalog and server property changes
- items
Type: array<Microsoft.Data.Schema.Build.CatalogOrServerPropertyItem[]
The array of property items to change
Return Value
Type: System.Boolean
Returns true if the properties were successfully set, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IDatabasePropertiesContainer Interface
IDatabasePropertiesContainer Members
Microsoft.VisualStudio.Data.Schema.Project.Project Namespace